Generic FunctionPackage: mpToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
New since 8.2 release.


Arguments: barrier new-count

When barrier is a barrier object, sets the value of the barrier count. The new-count argument may be a positive integer (and may not be zero), or t to denote most-positive-fixnum.

If the barrier is disabled, simply update the count and leave the barrier disabled.

If the barrier is enabled but still below the new-count, then simply update the count.

Otherwise the call is eqivalent to (barrier-unblock barrier :reset-count new-count). See barrier-unblock.

See Barrier API in smp.htm.

Copyright (c) 1998-2015, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page is new in the 8.2 release.
Created 2010.1.21.

Allegro CL version 8.2
New since 8.2 release.