Generic Function | Package: mp | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## barrier-set-count

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.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version