|
lmms
Cross-platform music production software
|
#include <AudioEngineWorkerThread.h>
Public Types | |
| enum class | OperationMode { Static , Dynamic } |
Public Member Functions | |
| JobQueue () | |
| void | reset (OperationMode _opMode) |
| void | addJob (ThreadableJob *_job) |
| void | run () |
| void | wait () |
Static Public Attributes | |
| static constexpr size_t | JOB_QUEUE_SIZE = 8192 |
Private Attributes | |
| std::atomic< ThreadableJob * > | m_items [JOB_QUEUE_SIZE] |
| std::atomic_size_t | m_writeIndex |
| std::atomic_size_t | m_itemsDone |
| OperationMode | m_opMode |
|
strong |
|
inline |
| void lmms::AudioEngineWorkerThread::JobQueue::addJob | ( | ThreadableJob * | _job | ) |
| void lmms::AudioEngineWorkerThread::JobQueue::reset | ( | OperationMode | _opMode | ) |
| void lmms::AudioEngineWorkerThread::JobQueue::run | ( | ) |
| void lmms::AudioEngineWorkerThread::JobQueue::wait | ( | ) |
|
staticconstexpr |
|
private |
|
private |
|
private |
|
private |