Fix a race in the posix suspend code that would lead to a crash.
[mono.git] / mono / utils / mono-threads.h
index f192dd70732e1e6fc42a06395bcad58941879ead..43dd376fe8b77ae70c2245222c472ff8d6a83325 100644 (file)
@@ -109,6 +109,7 @@ typedef struct {
 #if (defined(_POSIX_VERSION) || defined(__native_client__)) && !defined (__MACH__)
        MonoSemType suspend_semaphore;
        gboolean syscall_break_signal;
+       gboolean suspend_can_continue;
 #endif
 
        /*In theory, only the posix backend needs this, but having it on mach/win32 simplifies things a lot.*/