bump sync policy using a plain cursor, single thread only.
More...
#include <bump_allocator.hpp>
|
| uint64_t | load () const noexcept |
| | load the cursor.
|
| |
| void | store (uint64_t value) noexcept |
| | store the cursor.
|
| |
| bool | advance (uint64_t &expected, uint64_t desired) noexcept |
| | advance the cursor.
|
| |
bump sync policy using a plain cursor, single thread only.
◆ advance()
| bool join::BumpPlain::advance |
( |
uint64_t & | expected, |
|
|
uint64_t | desired ) |
|
inlinenoexcept |
advance the cursor.
- Parameters
-
| expected | expected cursor value. |
| desired | new cursor value. |
- Returns
- always true.
◆ load()
| uint64_t join::BumpPlain::load |
( |
| ) |
const |
|
inlinenoexcept |
load the cursor.
- Returns
- cursor value.
◆ store()
| void join::BumpPlain::store |
( |
uint64_t | value | ) |
|
|
inlinenoexcept |
store the cursor.
- Parameters
-
The documentation for this class was generated from the following file: