thread-yieldPortable Threadsthread-holds-lock-pthreadpGoTo Top

threadp   object => boolean[Function]

Purpose
Check if object is an object representing a thread.

Package   :portable-threads

Module   :portable-threads

Arguments and values

object     An object
boolean     A generalized boolean

Returns
True if object is an object representing a thread; nil otherwise.

See also
    all-threads
    spawn-form
    spawn-thread
    thread-alive-p

Example

  > (threadp (car (all-threads)))
  t
  >


The GBBopen Project


thread-yieldPortable Threadsthread-holds-lock-pthreadpGoTo Top