Changes the count of a barrier.
mp
barrier-change-count barrier new-count => result
| barrier⇩ |
A barrier. |
| new-count⇩ |
A positive fixnum, or t meaning most-positive-fixnum. |
| result |
A boolean. |
The function barrier-change-count changes the count of the barrier barrier to new-count.
If barrier is enabled and the arriver count is less than new-count, this just sets the count of barrier to new-count and returns t. Otherwise, it calls:
(barrier-unblock barrier :reset-count new-count)
and returns nil.
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:36