Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ other_thread
Method
other_thread
Lib/test/test_threadsignals.py:121–122 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
119
# For reentrant locks, the initial acquisition must be in another
120
# thread.
121
def
other_thread():
122
rlock.acquire()
123
124
with
threading_helper.wait_threads_exit():
125
thread.start_new_thread(other_thread, ())
Callers
nothing calls this directly
Calls
4
acquire
Method · 0.45
sleep
Method · 0.45
kill
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected