+ # Any lock/condition variable may be currently locked or in invalid
+ # state, so we reinitialize them.
if thread is current:
# There is only one active thread. We reset the ident to
# its new value since it can have changed.
ident = get_ident()
thread._ident = ident
- # Any condition variables hanging off of the active thread may
- # be in an invalid state, so we reinitialize them.
new_active[ident] = thread
# All the others are already stopped.
- # We don't call _Thread__stop() because it tries to acquire
- # thread._Thread__block which could also have been held while
- # we forked.
- thread._stopped = True
« no previous file with comments
« no previous file
no next file »
no next file with comments »
Issue 11870: test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on "x86 Ubuntu Shared 3.x"
Created 1 year, 11 months ago by haypo
Modified 1 year, 5 months ago
Base URL: None