diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-14 14:53:20 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-14 14:53:20 +0200 |
| commit | 730e129a800f2406ff7b879931c433438b69c6cd (patch) | |
| tree | 79191eb6c15a0b813a1c0462d9e95eb5f103d738 /src/box64context.c | |
| parent | 883fc1681d214efe8c2d43089e2e38900d6d7db2 (diff) | |
| download | box64-730e129a800f2406ff7b879931c433438b69c6cd.tar.gz box64-730e129a800f2406ff7b879931c433438b69c6cd.zip | |
Change the way locked mutex are detected (taken from box86)
Diffstat (limited to 'src/box64context.c')
| -rwxr-xr-x | src/box64context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/box64context.c b/src/box64context.c index 0202dba1..c3b228e6 100755 --- a/src/box64context.c +++ b/src/box64context.c @@ -73,9 +73,8 @@ int unlockMutex() int ret = unlockCustommemMutex(); int i; #define GO(A, B) \ - i = checkMutex(&A); \ + i = checkUnlockMutex(&A); \ if(i) { \ - pthread_mutex_unlock(&A); \ ret|=(1<<B); \ } |