diff options
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r-- | winsup/cygwin/sync.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index 995d98ef6..a32dadb97 100644 --- a/winsup/cygwin/sync.h +++ b/winsup/cygwin/sync.h @@ -22,14 +22,16 @@ class muto public: class muto *next; const char *name; + + muto() {} + /* The real constructor. */ + muto(int inh, const char *name); + void *operator new (size_t, void *p) {return p;} void *operator new (size_t) {return ::new muto; } void operator delete (void *) {;} /* can't handle allocated mutos currently */ - muto() {} - /* The real constructor. */ - muto(int inh, const char *name); ~muto (); int acquire (DWORD ms = INFINITE) __attribute__ ((regparm(1))); /* Acquire the lock. */ int release (); /* Release the lock. */ |