Bordeaux-Threads

Version 0.8.8

Common Lisp threading library

Function SIGNAL-SEMAPHORE

Syntax:

signal-semaphore semaphore -> t

Arguments and values:

semaphore -> a semaphore object.

Description:

Increment semaphore by count. If there are threads waiting on this semaphore, then count of them are woken up.

Returns always true.

Exceptional situations:

Signals an error of type type-error if semaphore is not a semaphore object.

See also:

make-semaphore, wait-on-semaphore

Notes:

It is unspecified which thread gets a wakeup and does not necessarily relate to the order in which the threads went to sleep.

Last updated on 2022-01-07
Published on 2022-01-07
Edit on GitHub