diff options
author | Christopher Faylor <me@cgf.cx> | 2003-11-26 01:57:22 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-11-26 01:57:22 +0300 |
commit | 970ca292422ff522959bb31fc8902e21ec5e3b5e (patch) | |
tree | 053c52cdd127ceeb0ade601ae2d6e58fb0bef9a6 /winsup/cygwin/thread.cc | |
parent | 3654a9dd2fdb7e8632bf07e9621167d5bcccdcf9 (diff) |
more white space
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 25be144ef..9613e223c 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -408,7 +408,6 @@ pthread::cancel (void) SetEvent (cancel_event); return 0; } - else if (equal (thread, self)) { mutex.unlock (); @@ -767,14 +766,14 @@ void pthread::suspend_except_self () { if (valid && this != pthread::self ()) - SuspendThread (win32_obj_id); + SuspendThread (win32_obj_id); } void pthread::resume () { if (valid) - ResumeThread (win32_obj_id); + ResumeThread (win32_obj_id); } /* static members */ @@ -3310,7 +3309,7 @@ semaphore::post (sem_t *sem) int semaphore::getvalue (sem_t *sem, int *sval) { - + if (!is_good_object (sem) || __check_null_invalid_struct (sval, sizeof (int))) { |