2 #ifndef _MONO_METADATA_W32SEMAPHORE_H_
3 #define _MONO_METADATA_W32SEMAPHORE_H_
9 #include "w32handle-namespace.h"
12 mono_w32semaphore_init (void);
15 ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount
, gint32 maximumCount
, MonoString
*name
, gint32
*error
);
18 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (gpointer handle
, gint32 releaseCount
, gint32
*prevcount
);
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_ */