diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-22 21:39:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-22 21:39:03 +0000 |
commit | 6299349ba4ed56e87fa0ef666631a5e9db9398be (patch) | |
tree | efc14669201af5bf57d9d2c1dc42bc0b90662a39 | |
parent | c6392f6a72c25b4e9ac55bc1dddf19addab1748b (diff) | |
download | cygnal-6299349ba4ed56e87fa0ef666631a5e9db9398be.tar.gz cygnal-6299349ba4ed56e87fa0ef666631a5e9db9398be.tar.bz2 cygnal-6299349ba4ed56e87fa0ef666631a5e9db9398be.zip |
white space.
-rw-r--r-- | winsup/cygwin/thread.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 84add47c5..3ee11f1e9 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -272,8 +272,8 @@ pthread::setTlsSelfPointer (pthread *thisThread) /* member methods */ pthread::pthread ():verifyable_object (PTHREAD_MAGIC), win32_obj_id (0), - cancelstate (0), canceltype (0), cancel_event (0), - joiner (NULL), cleanup_stack (NULL) + cancelstate (0), canceltype (0), cancel_event (0), + joiner (NULL), cleanup_stack (NULL) { } @@ -995,7 +995,7 @@ pthread_key::~pthread_key () { /* We may need to make the list code lock the list during operations */ - if (magic != 0) + if (magic != 0) { keys.Remove (this); TlsFree (dwTlsIndex); @@ -2247,7 +2247,7 @@ int __pthread_mutex_lock (pthread_mutex_t *mutex) { pthread_mutex_t *themutex = mutex; - /* This could be simplified via isGoodInitializerOrObject + /* This could be simplified via isGoodInitializerOrObject and isGoodInitializer, but in a performance critical call like this.... no. */ @@ -2300,7 +2300,7 @@ __pthread_mutex_destroy (pthread_mutex_t *mutex) { if (pthread_mutex::isGoodInitializer (mutex)) return 0; - if (!pthread_mutex::isGoodObject (mutex)) + if (!pthread_mutex::isGoodObject (mutex)) return EINVAL; /*reading a word is atomic */ |