thread::names

thread::names

Returns a list of all thread ids that the thread package currently knows about (i.e., that have been created with thread::create; other threads may also exist, but are unknown to the package).