[mini] bump AOT version - WrapperType changed
[mono.git] / mono / io-layer / semaphore-private.h
1 /*
2  * semaphore-private.h:  Private definitions for semaphore handles
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9
10 #ifndef _WAPI_SEMAPHORE_PRIVATE_H_
11 #define _WAPI_SEMAPHORE_PRIVATE_H_
12
13 #include <config.h>
14 #include <glib.h>
15
16 extern struct _WapiHandleOps _wapi_sem_ops;
17 extern struct _WapiHandleOps _wapi_namedsem_ops;
18
19 extern void _wapi_sem_details (gpointer handle_info);
20
21 /* emulate sem_t, so that we can prod the internal state more easily */
22 struct _WapiHandle_sem
23 {
24         guint32 val;
25         gint32 max;
26 };
27
28 struct _WapiHandle_namedsem
29 {
30         WapiSharedNamespace sharedns;
31         guint32 val;
32         gint32 max;
33 };
34
35 #endif /* _WAPI_SEMAPHORE_PRIVATE_H_ */