Represents the state of a thread managed by ThreadManager. More...
#include <thread_manager.hpp>
Public Attributes | |
std::mutex | play_mutex |
A mutex to synchronize access to the play state. | |
std::atomic< bool > | is_processing {false} |
Indicates whether the thread is currently processing. | |
std::atomic< bool > | is_playing {false} |
Indicates whether the thread is currently playing. | |
std::future< void > | play_future |
A future object associated with the play operation. | |
Represents the state of a thread managed by ThreadManager.
std::atomic<bool> ThreadManager::ThreadState::is_playing {false} |
Indicates whether the thread is currently playing.
std::atomic<bool> ThreadManager::ThreadState::is_processing {false} |
Indicates whether the thread is currently processing.
std::future<void> ThreadManager::ThreadState::play_future |
A future object associated with the play operation.
std::mutex ThreadManager::ThreadState::play_mutex |
A mutex to synchronize access to the play state.