inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
ThreadManager::ThreadState Struct Reference

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.
 

Detailed Description

Represents the state of a thread managed by ThreadManager.

Member Data Documentation

◆ is_playing

std::atomic<bool> ThreadManager::ThreadState::is_playing {false}

Indicates whether the thread is currently playing.

◆ is_processing

std::atomic<bool> ThreadManager::ThreadState::is_processing {false}

Indicates whether the thread is currently processing.

◆ play_future

std::future<void> ThreadManager::ThreadState::play_future

A future object associated with the play operation.

◆ play_mutex

std::mutex ThreadManager::ThreadState::play_mutex

A mutex to synchronize access to the play state.


The documentation for this struct was generated from the following file: