diff options
Diffstat (limited to 'src/util/simple_mtx.h')
-rw-r--r-- | src/util/simple_mtx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/simple_mtx.h b/src/util/simple_mtx.h index 9f9e40861f9..cd24b6f9eb9 100644 --- a/src/util/simple_mtx.h +++ b/src/util/simple_mtx.h @@ -83,7 +83,7 @@ simple_mtx_lock(simple_mtx_t *mtx) if (c != 2) c = __sync_lock_test_and_set(&mtx->val, 2); while (c != 0) { - futex_wait(&mtx->val, 2); + futex_wait(&mtx->val, 2, NULL); c = __sync_lock_test_and_set(&mtx->val, 2); } } |