mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGING
conditional.
This commit is contained in:
parent
18f43099f7
commit
36670cc234
@ -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>
|
2008-09-29 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to
|
* thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to
|
||||||
|
@ -1680,7 +1680,10 @@ pthread_mutex::_fixup_after_fork ()
|
|||||||
owner = NULL;
|
owner = NULL;
|
||||||
win32_obj_id = NULL;
|
win32_obj_id = NULL;
|
||||||
condwaits = 0;
|
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),
|
pthread_mutexattr::pthread_mutexattr ():verifyable_object (PTHREAD_MUTEXATTR_MAGIC),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user