Home
last modified time | relevance | path

Searched refs:_main_thread (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/
H A Dthreading.py1059 # Special case: _main_thread releases ._tstate_lock via this
1532 _main_thread = _MainThread() variable
1538 # Obscure: other threads may be waiting to join _main_thread. That's
1543 if _main_thread._is_stopped:
1556 if _main_thread.ident == get_ident():
1557 tlock = _main_thread._tstate_lock
1563 _main_thread._stop()
1567 # _main_thread is the thread which imported the threading module.
1568 # In this case, ignore _main_thread, similar behavior than for threads
1596 return _main_thread
[all...]

Completed in 2 milliseconds