2005-06-05 Peter Bartok <pbartok@novell.com>
[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 extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
16                                 gint32 initial, gint32 max,
17                                 const gunichar2 *name);
18 extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
19                                  gint32 *prevcount);
20
21 #endif /* _WAPI_SEMAPHORES_H_ */