Using running process to determine mono exe path on windows
[mono.git] / mono / io-layer / mutexes.h
index ef9e46d9e94351b846a42156da1637830c1c2785..d1b7a68d67ca5695d893100748693cdaa6e652ca 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <glib.h>
 
+#include <pthread.h>
+
 G_BEGIN_DECLS
 
 extern gpointer CreateMutex (WapiSecurityAttributes *security, gboolean owned,
@@ -20,6 +22,9 @@ extern gboolean ReleaseMutex (gpointer handle);
 extern gpointer OpenMutex (guint32 access, gboolean inherit,
                           const gunichar2 *name);
 
+void
+wapi_mutex_abandon (gpointer data, pid_t pid, pthread_t tid);
+
 G_END_DECLS
 
 #endif /* _WAPI_MUTEXES_H_ */