sub atomic-dec-fetch
1 | class atomicint |
1.1 | (atomicint) sub atomic-dec-fetch |
Documentation for sub atomic-dec-fetch
assembled from the following types:
class atomicint
From atomicint
(atomicint) sub atomic-dec-fetch
multi sub atomic-dec-fetch(atomicint $ is rw)
Performs an atomic decrement on a native integer. This will be performed using hardware-provided atomic operations. Since the operation is atomic, it is safe to use without acquiring a lock. Returns the value resulting from the decrement. Overflow will wrap around silently.