![]() | ![]() | ![]() | atomic-flush | ![]() |
| place
| [Macro] |
Purpose
As an atomic operation, set the value of
nil
, and return the value
Package :portable-threads
Module :portable-threads
Arguments and values
place | A form which is suitable for use as a generalized reference | |
old-place-value | An object |
Returns
The place value prior to being set to nil
.
See also
as-atomic-operation
atomic-delete
atomic-pop
atomic-push
atomic-pushnew
Example
> list (1 2 3) > (atomic-flush list) (1 2 3) > list nil >
The GBBopen Project
![]() | ![]() | ![]() | atomic-flush | ![]() |