[System] Tweak socket test
[mono-project.git] / mono / metadata / w32semaphore.h
blob789dfbef70f0a3db26c4a114491c0afdcbbf199c
2 #ifndef _MONO_METADATA_W32SEMAPHORE_H_
3 #define _MONO_METADATA_W32SEMAPHORE_H_
5 #include <config.h>
6 #include <glib.h>
8 #include "object.h"
9 #include "w32handle-namespace.h"
11 void
12 mono_w32semaphore_init (void);
14 gpointer
15 ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount, gint32 maximumCount, MonoString *name, gint32 *error);
17 MonoBoolean
18 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (gpointer handle, gint32 releaseCount, gint32 *prevcount);
20 gpointer
21 ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString *name, gint32 rights, gint32 *error);
23 typedef struct MonoW32HandleNamedSemaphore MonoW32HandleNamedSemaphore;
25 MonoW32HandleNamespace*
26 mono_w32semaphore_get_namespace (MonoW32HandleNamedSemaphore *semaphore);
28 #endif /* _MONO_METADATA_W32SEMAPHORE_H_ */