All Manuals > LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

barrier-change-count

Function
Summary

Changes the count of a barrier.

Package

mp

Signature

barrier-change-count barrier new-count => result

Arguments

barrier

A barrier.

new-count

A positive fixnum, or t meaning most-positive-fixnum .

Values

result

A boolean.

Description

The function barrier-change-count changes the count of the barrier barrier to new-count .

If the barrier is enabled and the arriver count is less than new-count , this just sets the count of the barrier to the new-count and returns t . Otherwise, it calls

(barrier-unblock barrier :reset-count new-count )

and returns nil .

See also

barrier-unblock


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex