Wed Apr 9 15:19:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / metadata / threads-types.h
1 /*
2  * threads-types.h: Generic thread typedef support (includes
3  * system-specific files)
4  *
5  * Author:
6  *      Dick Porter (dick@ximian.com)
7  *
8  * (C) 2001 Ximian, Inc
9  */
10
11 #ifndef _MONO_METADATA_THREADS_TYPES_H_
12 #define _MONO_METADATA_THREADS_TYPES_H_
13
14 #include <glib.h>
15
16 #include <mono/io-layer/io-layer.h>
17
18 typedef struct
19 {
20         guint32 owner;                  /* thread ID */
21         guint32 nest;
22         volatile guint32 entry_count;
23         HANDLE entry_sem;
24         GSList *wait_list;
25 } MonoThreadsSync;
26
27 #endif /* _MONO_METADATA_THREADS_TYPES_H_ */