projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[runtime] Use a guint64 for device/inode instead of dev_t/ino_t since ino_t is define...
[mono.git]
/
mono
/
io-layer
/
semaphores.h
diff --git
a/mono/io-layer/semaphores.h
b/mono/io-layer/semaphores.h
index ad801a786e94600da37d21a768d3b7e7732e9a9a..1cdaee02bfb2f822ed62c23567724bb78203187e 100644
(file)
--- a/
mono/io-layer/semaphores.h
+++ b/
mono/io-layer/semaphores.h
@@
-1,12
+1,26
@@
+/*
+ * semaphores.h: Semaphore handles
+ *
+ * Author:
+ * Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
#ifndef _WAPI_SEMAPHORES_H_
#define _WAPI_SEMAPHORES_H_
#include <glib.h>
#ifndef _WAPI_SEMAPHORES_H_
#define _WAPI_SEMAPHORES_H_
#include <glib.h>
+G_BEGIN_DECLS
+
extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
gint32 initial, gint32 max,
extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
gint32 initial, gint32 max,
- const gu
char
*name);
+ const gu
nichar2
*name);
extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
gint32 *prevcount);
extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
gint32 *prevcount);
+extern gpointer OpenSemaphore (guint32 access, gboolean inherit,
+ const gunichar2 *name);
+G_END_DECLS
#endif /* _WAPI_SEMAPHORES_H_ */
#endif /* _WAPI_SEMAPHORES_H_ */