all-scheduled-functionsPortable Threadsas-atomic-operationall-threadsGoTo Top

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

Purpose
Return a list of all threads.

Package   :portable-threads

Module   :portable-threads

Arguments and values

list-of-threads     A proper list

Returns
A list of objects representing the threads.

See also
    current-thread
    thread-alive-p
    threadp
    spawn-thread

Example

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

Notes
On Common Lisp implementations without threads, nil is returned.

The returned list of threads should not be destructively altered.


The GBBopen Project


all-scheduled-functionsPortable Threadsas-atomic-operationall-threadsGoTo Top