2 * Thread safe wrappers around X11 calls
4 * Copyright 1998 Kristian Nielsen
7 #ifndef __WINE_TSX11DEFS_H
8 #define __WINE_TSX11DEFS_H
12 extern CRITICAL_SECTION
*TSX11_SectionPtr
;
14 extern int TSX11_Init(void);
17 (TSX11_SectionPtr ? EnterCriticalSection(TSX11_SectionPtr) : 0)
19 #define X11_UNLOCK() \
20 (TSX11_SectionPtr ? LeaveCriticalSection(TSX11_SectionPtr) : 0)
22 #endif /* __WINE_TSX11DEFS_H */