Queue wake transport; never calls into queues under the budget mutex.
More...
#include <StormByte/buffer/byte_budget.hxx>
|
| static auto | Event (const ByteBudget &budget) noexcept |
| | Capture a stored event.
|
| static void | Notify (const ByteBudget &budget) noexcept |
| | Publish a queue state change.
|
| static void | Wait (const ByteBudget &budget, ByteBudget::Event event, std::int64_t nanoseconds) noexcept |
| | Wait for state changes without holding queue locks.
|
Queue wake transport; never calls into queues under the budget mutex.
◆ Event()
| auto StormByte::Buffer::Detail::BudgetAccess::Event |
( |
const ByteBudget & | budget | ) |
|
|
inlinestaticnoexcept |
Capture a stored event.
- Parameters
-
| budget | Shared wake domain. |
- Returns
- Event generation.
◆ Notify()
| void StormByte::Buffer::Detail::BudgetAccess::Notify |
( |
const ByteBudget & | budget | ) |
|
|
inlinestaticnoexcept |
Publish a queue state change.
- Parameters
-
| budget | Shared wake domain. |
◆ Wait()
| void StormByte::Buffer::Detail::BudgetAccess::Wait |
( |
const ByteBudget & | budget, |
|
|
ByteBudget::Event | event, |
|
|
std::int64_t | nanoseconds ) |
|
inlinestaticnoexcept |
Wait for state changes without holding queue locks.
- Parameters
-
| budget | Shared wake domain. |
| event | Captured generation. |
| nanoseconds | Relative wait duration. |
The documentation for this struct was generated from the following file: