diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-24 14:30:51 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-10-24 14:30:51 +0200 |
| commit | 2e9bc93e1f1b989707941b8a1f43488d23f411c7 (patch) | |
| tree | 7bc51484b4aca8985901da2e64b61e0fc2be5910 /src/box64context.c | |
| parent | e2a993a4255e1d17a067727b959afce507c20eec (diff) | |
| download | box64-2e9bc93e1f1b989707941b8a1f43488d23f411c7.tar.gz box64-2e9bc93e1f1b989707941b8a1f43488d23f411c7.zip | |
[DYNAREC] Use customMalloc for internal dynarec stuff (fixed starbound)
Diffstat (limited to 'src/box64context.c')
| -rwxr-xr-x | src/box64context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box64context.c b/src/box64context.c index 1610c4e8..e4fd522b 100755 --- a/src/box64context.c +++ b/src/box64context.c @@ -100,7 +100,7 @@ void relockMutex(int locks) relockCustommemMutex(locks); #define GO(A, B) \ if(locks&(1<<B)) \ - pthread_mutex_lock(&A); \ + pthread_mutex_trylock(&A); \ GO(my_context->mutex_once, 5) GO(my_context->mutex_once2, 6) |