summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index 029e35745..c52978f8f 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -35,13 +35,6 @@ enum cw_cancel_action
cw_no_cancel
};
-extern "C"
-{
-void SetResourceLock (int, int, const char *) __attribute__ ((regparm (3)));
-void ReleaseResourceLock (int, int, const char *)
- __attribute__ ((regparm (3)));
-}
-
DWORD cancelable_wait (HANDLE, DWORD, const cw_cancel_action = cw_cancel_self,
const enum cw_sig_wait = cw_sig_nosig)
__attribute__ ((regparm (3)));
@@ -92,17 +85,6 @@ private:
class per_process;
class pinfo;
-class ResourceLocks
-{
-public:
- LPCRITICAL_SECTION Lock (int);
- void Init ();
- void Delete ();
-private:
- CRITICAL_SECTION lock;
- bool inited;
-};
-
#define PTHREAD_MAGIC 0xdf0df045
#define PTHREAD_MUTEX_MAGIC PTHREAD_MAGIC+1
#define PTHREAD_KEY_MAGIC PTHREAD_MAGIC+2