]> pd.if.org Git - pdclib/blobdiff - platform/win32/internals/_PDCLIB_threadconfig.h
win32: mutex rewrite. new form is much simpler
[pdclib] / platform / win32 / internals / _PDCLIB_threadconfig.h
index d914ae04d646564db18632f49c62f6b201610a63..c311867e871297fac957528bc1d664090ba86a80 100644 (file)
@@ -19,10 +19,9 @@ void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void));
 #define _PDCLIB_MTX_T struct _PDCLIB_mtx \r
 \r
 struct _PDCLIB_mtx {\r
-    void         * _WaitEvHandle;\r
-    volatile   signed long  _State;\r
-    volatile unsigned  int  _ThreadId;\r
-    volatile unsigned  int  _NestCount;\r
+    void                   * _WaitEvHandle;\r
+    volatile unsigned long   _ThreadId; \r
+    volatile unsigned  int   _NestCount;\r
 };\r
 \r
 #define _PDCLIB_TSS_T struct _PDCLIB_tss *\r