MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / enumerate

Function enumerate

tools/python-3.11.9-amd64/Lib/threading.py:1501–1510  ·  view source on GitHub ↗

Return a list of all Thread objects currently alive. The list includes daemonic threads, dummy thread objects created by current_thread(), and the main thread. It excludes terminated threads and threads that have not yet been started.

()

Source from the content-addressed store, hash-verified

1499 return list(_active.values()) + list(_limbo.values())
1500
1501def enumerate():
1502 """Return a list of all Thread objects currently alive.
1503
1504 The list includes daemonic threads, dummy thread objects created by
1505 current_thread(), and the main thread. It excludes terminated threads and
1506 threads that have not yet been started.
1507
1508 """
1509 with _active_limbo_lock:
1510 return list(_active.values()) + list(_limbo.values())
1511
1512
1513_threading_atexits = []

Callers 15

imaplib.pyFile · 0.85
_c3_mroFunction · 0.85
_strptimeFunction · 0.85
visit_argumentsMethod · 0.85
pickletools.pyFile · 0.85
gettext.pyFile · 0.85
_parseMethod · 0.85
_parse_overviewFunction · 0.85
itermonthdays2Method · 0.85
itermonthdays4Method · 0.85
formatyearMethod · 0.85
compiler_fixupFunction · 0.85

Calls 2

listFunction · 0.85
valuesMethod · 0.45

Tested by 13

_check_prompt_blankMethod · 0.68
_check_prefixMethod · 0.68
_find_linenoMethod · 0.68
__runMethod · 0.68
test_itemconfigureMethod · 0.68
assertMessagesMethod · 0.68
stackorderMethod · 0.68
do_inputMethod · 0.68
test_sizesMethod · 0.68
with_line_numbersMethod · 0.68
with_line_numbersMethod · 0.68