Searched refs:g_mtex (Results 1 – 2 of 2) sorted by relevance
21 static mtx_t g_mtex; variable26 ret = mtx_lock(&g_mtex); in threadfuncA()28 ret = mtx_unlock(&g_mtex); in threadfuncA()36 ret = mtx_lock(&g_mtex); in threadfuncB()38 ret = mtx_unlock(&g_mtex); in threadfuncB()46 ret = mtx_lock(&g_mtex); in threadfuncC()48 ret = mtx_unlock(&g_mtex); in threadfuncC()56 ret = mtx_lock(&g_mtex); in threadfuncD()58 ret = mtx_unlock(&g_mtex); in threadfuncD()66 ret = mtx_lock(&g_mtex); in threadfuncE()[all …]
21 static mtx_t g_mtex; variable26 ret = mtx_lock(&g_mtex); in threadfuncA()27 ret = mtx_trylock(&g_mtex); in threadfuncA()29 ret = mtx_unlock(&g_mtex); in threadfuncA()37 ret = mtx_lock(&g_mtex); in threadfuncB()38 ret = mtx_trylock(&g_mtex); in threadfuncB()40 ret = mtx_unlock(&g_mtex); in threadfuncB()52 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_trylock_0100()77 int result = mtx_init(&g_mtex, mtx_plain); in mtx_trylock_0200()