Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h8
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. */