about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-05 11:35:27 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-05 11:35:27 +0200
commitc3cd14f3c529d75de5130facc3542f4a0f56d7f9 (patch)
treed936a68ddb784f69511274c139848feba67bf9bc /src/include
parent2010f8dcce4349e1420755a94f9af2211e9574c8 (diff)
downloadbox64-c3cd14f3c529d75de5130facc3542f4a0f56d7f9.tar.gz
box64-c3cd14f3c529d75de5130facc3542f4a0f56d7f9.zip
Removed mutex per bridge and use a global one (remove chance of freeze on fork)
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 4a53fed8..0f99d1fe 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -121,6 +121,7 @@ typedef struct box64context_s {
     #endif
     pthread_mutex_t     mutex_tls;
     pthread_mutex_t     mutex_thread;
+    pthread_mutex_t     mutex_bridge;
 
     library_t           *libclib;       // shortcut to libc library (if loaded, so probably yes)
     library_t           *sdl1lib;       // shortcut to SDL1 library (if loaded)