MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_ident

Function get_ident

crates/vm/src/stdlib/_thread.rs:326–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324 /// Get thread identity - uses pthread_self() on Unix for fork compatibility
325 #[pyfunction]
326 pub fn get_ident() -> u64 {
327 current_thread_id()
328 }
329
330 #[cfg(all(unix, feature = "threading"))]
331 #[pyfunction]

Callers 12

_shutdownFunction · 0.70
init_main_thread_identFunction · 0.70
after_fork_childFunction · 0.70
join_internalMethod · 0.70
start_joinable_threadFunction · 0.70
dump_all_threadsFunction · 0.50
stop_the_worldMethod · 0.50
is_main_threadMethod · 0.50

Calls 1

current_thread_idFunction · 0.70

Tested by

no test coverage detected