MCPcopy Create free account
hub / github.com/bloomberg/pystack / get_threads_for_process

Function get_threads_for_process

tests/integration/test_local_variables.py:16–18  ·  view source on GitHub ↗
(python, script, tmpdir, locals=True)

Source from the content-addressed store, hash-verified

14
15
16def get_threads_for_process(python, script, tmpdir, locals=True):
17 with spawn_child_process(python, script, tmpdir) as child_process:
18 return list(get_process_threads(child_process.pid, locals=locals))
19
20
21def get_threads_for_core(python, script, tmpdir, locals=True):

Callers

nothing calls this directly

Calls 1

spawn_child_processFunction · 0.90

Tested by

no test coverage detected