/** * \file */ #ifndef _MONO_METADATA_W32SEMAPHORE_H_ #define _MONO_METADATA_W32SEMAPHORE_H_ #include #include #include "object.h" #include "w32handle-namespace.h" void mono_w32semaphore_init (void); gpointer ves_icall_System_Threading_Semaphore_CreateSemaphore_internal (gint32 initialCount, gint32 maximumCount, MonoString *name, gint32 *error); MonoBoolean ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal (gpointer handle, gint32 releaseCount, gint32 *prevcount); gpointer ves_icall_System_Threading_Semaphore_OpenSemaphore_internal (MonoString *name, gint32 rights, gint32 *error); typedef struct MonoW32HandleNamedSemaphore MonoW32HandleNamedSemaphore; MonoW32HandleNamespace* mono_w32semaphore_get_namespace (MonoW32HandleNamedSemaphore *semaphore); #endif /* _MONO_METADATA_W32SEMAPHORE_H_ */