()
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.
Return a list of all Thread objects currently alive.
Return a list of all Thread objects currently alive .
def enumerate():
    """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.

    """
    with _active_limbo_lock:
        return list(_active.values()) + list(_limbo.values())
def enumerate ( ) : with _active_limbo_lock : return list ( _active . values ( ) ) + list ( _limbo . values ( ) )