diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-15 16:10:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-15 16:10:41 +0000 |
commit | aafd8a545f7d9089d47ac28d890840f22dac6df4 (patch) | |
tree | 552dc673ad6ca9359114d2f9d080bcc27fc48c44 /winsup/cygwin/sync.cc | |
parent | 71af2ed39e0c727eb8b9df6bdc1d9dbed762ad5d (diff) | |
download | cygnal-aafd8a545f7d9089d47ac28d890840f22dac6df4.tar.gz cygnal-aafd8a545f7d9089d47ac28d890840f22dac6df4.tar.bz2 cygnal-aafd8a545f7d9089d47ac28d890840f22dac6df4.zip |
revert previous not-ready-for-primetime checkin.
Diffstat (limited to 'winsup/cygwin/sync.cc')
-rw-r--r-- | winsup/cygwin/sync.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc index b3eacd9c1..bd89793fd 100644 --- a/winsup/cygwin/sync.cc +++ b/winsup/cygwin/sync.cc @@ -125,16 +125,6 @@ muto::release () threads waiting for the lock, so trigger bruteforce. */ if (InterlockedDecrement (&waiters) >= 0) (void) SetEvent (bruteforce); /* Wake up one of the waiting threads */ - else if (*name == '!') - { - CloseHandle (bruteforce); /* If *name == '!' and there are no - other waiters, then this is the - last time this muto will ever be - used, so close the handle. */ -#ifdef DEBUGGING - bruteforce = NULL; -#endif - } } return 1; /* success. */ |