Bordeaux-Threads

Version 0.8.8

Common Lisp threading library

Function ATOMIC-INTEGER-INCF

Syntax:

atomic-integer-incf atomic-integer &optional (delta 1) => new-value

Arguments and values:

atomic-integer -> an atomic-integer object.
delta -> an integer.
new-value -> a non-negative integer.

Description

Increments the value of atomic-integer by delta.

Returns the new value of atomic-integer.

Exceptional situations:

Signals an error of type type-error if atomic-integer is not an atomic-integer object.
Signals an error of type type-error if delta is not an integer.

See also:

atomic-integer, atomic-integer-decf, make-atomic-integer

Notes:

None.

Last updated on 2022-01-07
Published on 2022-01-07
Edit on GitHub