Generic Function | Package: mp | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version