MCPcopy Create free account
hub / github.com/EasyIME/PIME / task_id

Function task_id

python/python3/tornado/process.py:178–184  ·  view source on GitHub ↗

Returns the current task id, if any. Returns None if this process was not created by `fork_processes`.

()

Source from the content-addressed store, hash-verified

176
177
178def task_id() -> Optional[int]:
179 """Returns the current task id, if any.
180
181 Returns None if this process was not created by `fork_processes`.
182 """
183 global _task_id
184 return _task_id
185
186
187class Subprocess(object):

Callers 2

tearDownMethod · 0.90
test_multi_processMethod · 0.90

Calls

no outgoing calls

Tested by 2

tearDownMethod · 0.72
test_multi_processMethod · 0.72