![]() | ![]() | ![]() | atomic-incf | ![]() |
|
| place [delta-form] => new-place-value | [Macro] |
Purpose
Increment the value stored in place as an
atomic operation.
Package :portable-threads
Module :portable-threads
Arguments and values
| place | A form which is suitable for use as a generalized reference | |
| delta-form | A form that is evaluated to produce a delta value (default is 1). | |
| new-place-value | An object |
Returns
The new value of place.
See also
as-atomic-operation
atomic-decf
Examples
> x 2 > (atomic-incf x) 3 > (atomic-incf x 1.5) 4.5 >
The GBBopen Project
![]() | ![]() | ![]() | atomic-incf | ![]() |