A temporary lease proving that an owner-backed callback may safely use its referenced state.
More...
#include <alive_token.hpp>
A temporary lease proving that an owner-backed callback may safely use its referenced state.
The owner-side retire() waits until all leases have been released, so teardown cannot destroy that state in the middle of a leased callback.
◆ Lease() [1/3]
| pulp::runtime::AliveToken::Lease::Lease |
( |
| ) |
|
|
defaultnoexcept |
◆ Lease() [2/3]
| pulp::runtime::AliveToken::Lease::Lease |
( |
const Lease & | | ) |
|
|
delete |
◆ Lease() [3/3]
| pulp::runtime::AliveToken::Lease::Lease |
( |
Lease && | other | ) |
|
|
inlinenoexcept |
◆ ~Lease()
| pulp::runtime::AliveToken::Lease::~Lease |
( |
| ) |
|
|
inline |
◆ operator bool()
| pulp::runtime::AliveToken::Lease::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
◆ operator=() [1/2]
| Lease & pulp::runtime::AliveToken::Lease::operator= |
( |
const Lease & | | ) |
|
|
delete |
◆ operator=() [2/2]
| Lease & pulp::runtime::AliveToken::Lease::operator= |
( |
Lease && | other | ) |
|
|
inlinenoexcept |
◆ reset()
| void pulp::runtime::AliveToken::Lease::reset |
( |
| ) |
|
|
inlinenoexcept |
Release this callback's quiescence lease early.
◆ AliveToken
The documentation for this class was generated from the following file:
- /home/runner/work/pulp/pulp/core/runtime/include/pulp/runtime/alive_token.hpp