5 #ifndef _MONO_METADATA_W32SEMAPHORE_H_
6 #define _MONO_METADATA_W32SEMAPHORE_H_
12 #include "w32handle-namespace.h"
15 mono_w32semaphore_init (void);
18 ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount
, gint32 maximumCount
, MonoString
*name
, gint32
*error
);
21 ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (gpointer handle
, gint32 releaseCount
, gint32
*prevcount
);
24 ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString
*name
, gint32 rights
, gint32
*error
);
26 typedef struct MonoW32HandleNamedSemaphore MonoW32HandleNamedSemaphore
;
28 MonoW32HandleNamespace
*
29 mono_w32semaphore_get_namespace (MonoW32HandleNamedSemaphore
*semaphore
);
31 #endif /* _MONO_METADATA_W32SEMAPHORE_H_ */