Title:

threads - return a list of the threads currently in existence. This should include the standard reader which should be implemented as an S level thread from .S_init

Usage:

threads(class)

Arguments:

class:
If this is supplied as character vector, threads of any class (checked by is()) contained in this vector are returned. Alternatively, a function of one argument can be passed which evaluates a thread and returns T if the thread is of interest or F otherwise, as in thread

Side Effect:

The manager is queried for a list of all the threads that are currently in any of the following states: There is no guarantee that by the time this function returns

See Also:

threadQueue,
ps

Examples:


Key Words:

User Level Threads User Level Thread Management

Last modified: Mon Feb 10 17:59:21 1997