POSIX threads emulation, tricks glibc into being threadsafe.
diff --git a/include/thread.h b/include/thread.h
index 222f068..8b96738 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -95,10 +95,11 @@
void *buffer; /* --3 208 Buffer shared with server */
int buffer_size; /* --3 20c Size of server buffer */
void *debug_info; /* --3 210 Info for debugstr functions */
+ void *pthread_data; /* --3 214 Data for pthread emulation */
/* here is plenty space for wine specific fields (don't forget to change pad6!!) */
/* the following are nt specific fields */
- DWORD pad6[633]; /* --n 214 */
+ DWORD pad6[632]; /* --n 218 */
UNICODE_STRING StaticUnicodeString; /* -2- bf8 used by advapi32 */
USHORT StaticUnicodeBuffer[261]; /* -2- c00 used by advapi32 */
DWORD pad7; /* --n e0c */