condition-variable-wait-with-timeoutPortable Threadshibernate-threadcurrent-threadGoTo Top

current-thread   <no arguments> => thread[Function]

Purpose
Return the object representing the current thread.

Package   :portable-threads

Module   :portable-threads

Arguments and values

thread     A thread

Returns
The object representing the current thread.

See also
    all-threads
    spawn-form
    spawn-thread

Example

  > (current-thread)
  #<thread Listener 1>
  >

Note
On Common Lisp implementations without threads, the keyword symbol :threads-not-available is returned.


The GBBopen Project


condition-variable-wait-with-timeoutPortable Threadshibernate-threadcurrent-threadGoTo Top