Merge pull request #755 from ondrejmyska/master
[mono.git] / mono / utils / mono-threads.h
index 56a910ad691751b5c91abd81b524999508da52d6..0004e55c967954e437d6fcda1ec5e020bee49212 100644 (file)
@@ -100,14 +100,15 @@ typedef struct {
        gboolean runtime_thread;
 
        /* suspend machinery, fields protected by suspend_semaphore */
+       MonoSemType suspend_semaphore;
        int suspend_count;
 
-       MonoSemType suspend_semaphore;
-       MonoSemType resume_semaphore;
        MonoSemType finish_resume_semaphore;
+       MonoSemType resume_semaphore; 
 
        /* only needed by the posix backend */ 
 #if (defined(_POSIX_VERSION) || defined(__native_client__)) && !defined (__MACH__)
+       MonoSemType begin_suspend_semaphore;
        gboolean syscall_break_signal;
        gboolean suspend_can_continue;
 #endif