* thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGING

conditional.
This commit is contained in:
Christopher Faylor 2008-09-30 02:39:07 +00:00
parent 18f43099f7
commit 36670cc234
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-09-29 Christopher Faylor <me+cygwin@cgf.cx>
* thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGING
conditional.
2008-09-29 Christopher Faylor <me+cygwin@cgf.cx>
* thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to

View File

@ -1680,7 +1680,10 @@ pthread_mutex::_fixup_after_fork ()
owner = NULL;
win32_obj_id = NULL;
condwaits = 0;
tid = 0; /* Don't know the tid after a fork */
#ifdef DEBUGGING
tid = 0xffffffff; /* Don't know the tid after a fork */
#endif
}
pthread_mutexattr::pthread_mutexattr ():verifyable_object (PTHREAD_MUTEXATTR_MAGIC),