|
MXL : Media eXchange Layer
MXL
|
#include <FlowState.hpp>
Public Member Functions | |
| constexpr | FlowState () noexcept |
Public Attributes | |
| ino_t | inode |
| std::uint32_t | syncCounter |
Internal data relevant to the current state of an active flow. This data is shared among media functions for inter process communication and synchronization.
Definition at line 16 of file FlowState.hpp.
|
constexprnoexcept |
Default constructor that value initializes all members.
Definition at line 43 of file FlowState.hpp.
| ino_t mxl::lib::FlowState::inode |
The flow data inode. Used to detect if the flow was recreated and the current in-memory mapping of the flow has become stale as a result.
Definition at line 23 of file FlowState.hpp.
| std::uint32_t mxl::lib::FlowState::syncCounter |
32 bit word used synchronization between a writer and multiple readers. This value can be used by futexes. When a FlowWriter commits some data (a grain, a slice, etc) it will increment this value and then wake all FlowReaders waiting on this memory address.
Definition at line 31 of file FlowState.hpp.