projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-01-26 Jeffrey Stedfast <fejj@novell.com>
[mono.git]
/
mono
/
io-layer
/
mutex-private.h
diff --git
a/mono/io-layer/mutex-private.h
b/mono/io-layer/mutex-private.h
index ce5f7c40fcc1daf650e450b43c1d72fc9c045cfd..4faa3b720233cd3281fd9708c0ad7a94359ae53c 100644
(file)
--- a/
mono/io-layer/mutex-private.h
+++ b/
mono/io-layer/mutex-private.h
@@
-1,3
+1,12
@@
+/*
+ * mutex-private.h: Private definitions for mutex handles
+ *
+ * Author:
+ * Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
#ifndef _WAPI_MUTEX_PRIVATE_H_
#define _WAPI_MUTEX_PRIVATE_H_
#ifndef _WAPI_MUTEX_PRIVATE_H_
#define _WAPI_MUTEX_PRIVATE_H_
@@
-6,17
+15,26
@@
#include <pthread.h>
#include <sys/types.h>
#include <pthread.h>
#include <sys/types.h>
+extern struct _WapiHandleOps _wapi_mutex_ops;
+extern struct _WapiHandleOps _wapi_namedmutex_ops;
+
+extern void _wapi_mutex_details (gpointer handle_info);
+
struct _WapiHandle_mutex
{
struct _WapiHandle_mutex
{
- guint32 name;
pid_t pid;
pthread_t tid;
guint32 recursion;
};
pid_t pid;
pthread_t tid;
guint32 recursion;
};
-struct _WapiHandle
Private_mutex
+struct _WapiHandle
_namedmutex
{
{
- int dummy;
+ WapiSharedNamespace sharedns;
+ pid_t pid;
+ pthread_t tid;
+ guint32 recursion;
};
};
+extern void _wapi_mutex_abandon (gpointer data, pid_t pid, pthread_t tid);
+
#endif /* _WAPI_MUTEX_PRIVATE_H_ */
#endif /* _WAPI_MUTEX_PRIVATE_H_ */