Merge pull request #3602 from henricm/fix-configuration-symlink-removed
[mono.git] / mono / metadata / w32semaphore.h
1
2 #ifndef _MONO_METADATA_W32SEMAPHORE_H_
3 #define _MONO_METADATA_W32SEMAPHORE_H_
4
5 #include <config.h>
6 #include <glib.h>
7
8 #include "object.h"
9 #include "w32handle-namespace.h"
10
11 void
12 mono_w32semaphore_init (void);
13
14 gpointer
15 ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount, gint32 maximumCount, MonoString *name, gint32 *error);
16
17 MonoBoolean
18 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (gpointer handle, gint32 releaseCount, gint32 *prevcount);
19
20 gpointer
21 ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString *name, gint32 rights, gint32 *error);
22
23 typedef struct MonoW32HandleNamedSemaphore MonoW32HandleNamedSemaphore;
24
25 MonoW32HandleNamespace*
26 mono_w32semaphore_get_namespace (MonoW32HandleNamedSemaphore *semaphore);
27
28 #endif /* _MONO_METADATA_W32SEMAPHORE_H_ */