From c3cd14f3c529d75de5130facc3542f4a0f56d7f9 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 5 Jul 2021 11:35:27 +0200 Subject: Removed mutex per bridge and use a global one (remove chance of freeze on fork) --- src/include/box64context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') 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) -- cgit 1.4.1