diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-05 11:35:27 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-05 11:35:27 +0200 |
| commit | c3cd14f3c529d75de5130facc3542f4a0f56d7f9 (patch) | |
| tree | d936a68ddb784f69511274c139848feba67bf9bc /src/include | |
| parent | 2010f8dcce4349e1420755a94f9af2211e9574c8 (diff) | |
| download | box64-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-x | src/include/box64context.h | 1 |
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) |