Portable Threadsas-atomic-operationall-threadsGoTo Top

all-threads   <no arguments> => list-of-threads[Function]

Return a list of all known threads.

Package   :portable-threads

Module   :portable-threads

Arguments and values

list-of-threads     A proper list

A list of objects representing the threads.

The returned list of threads is accurate only at the precise instant the all-threads function is called. New threads may be created or existing threads killed at any time, so the returned list is always potentially outdated.

See also


  > (all-threads)
  (#<thread Listener 1>)

On Common Lisp implementations without threads, nil is returned.

The returned list of threads should not be destructively altered.

The GBBopen Project

Portable Threadsas-atomic-operationall-threadsGoTo Top