Using running process to determine mono exe path on windows
[mono.git] / mono / io-layer / semaphores.h
1 /*
2  * semaphores.h:  Semaphore handles
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9
10 #ifndef _WAPI_SEMAPHORES_H_
11 #define _WAPI_SEMAPHORES_H_
12
13 #include <glib.h>
14
15 G_BEGIN_DECLS
16
17 extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
18                                 gint32 initial, gint32 max,
19                                 const gunichar2 *name);
20 extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
21                                  gint32 *prevcount);
22 extern gpointer OpenSemaphore (guint32 access, gboolean inherit,
23                                const gunichar2 *name);
24
25 G_END_DECLS
26 #endif /* _WAPI_SEMAPHORES_H_ */