Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _set_native_id
Method
_set_native_id
Lib/threading.py:1047–1048 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1045
1046
if
_HAVE_THREAD_NATIVE_ID:
1047
def
_set_native_id(self):
1048
self._native_id = get_native_id()
1049
1050
def
_set_os_name(self):
1051
if
_set_name is None or not self._name:
Callers
5
_after_fork
Method · 0.95
_bootstrap_inner
Method · 0.95
__init__
Method · 0.80
__init__
Method · 0.80
_bootstrap
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected