Ensures that a barrier is enabled.
mp
barrier-enable barrier count &optional kill-waiting
barrier⇩ |
A barrier. |
count⇩ |
A positive fixnum, or t meaning most-positive-fixnum. |
kill-waiting⇩ |
A boolean. |
The function barrier-enable
ensures that the barrier barrier is enabled after unblocking it if it is already enabled, and sets its count to count. If kill-waiting is true, barrier-enable
also kills any waiting threads. This is done by calling:
(barrier-unblock barrier :reset-count count :kill-waiting kill-waiting)
barrier
barrier-wait
make-barrier
barrier-unblock
19.7.2 Synchronization barriers
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51