|
Guitarix
|
#include <ParallelThread.h>
Public Member Functions | |
| ParallelThread () | |
| ~ParallelThread () | |
| void | start () noexcept |
| bool | isRunning () const noexcept |
| void | setThreadName (std::string name) noexcept |
| void | setPriority (int32_t rt_prio, int32_t rt_policy) noexcept |
| void | setTimeOut (uint32_t timeout) noexcept |
| bool | getProcess () noexcept |
| void | runProcess () noexcept |
| void | processWait () noexcept |
| void | stop () noexcept |
| Public Member Functions inherited from ProcessPtr | |
| ProcessPtr () | |
| template<class C, void(C::*)() Function> | |
| void | set (C *instance) |
| template<uint32_t s, class C, void(C::*)() Function> | |
| void | set (C *instance) |
| void | setProcessor (uint32_t i_) |
| void | process () const |
| void | dummyFunc () |
Private Member Functions | |
| void | init () noexcept |
| void | run () noexcept |
| bool | getState () const noexcept |
| void | setThreadPolicy (int32_t rt_prio, int32_t rt_policy) noexcept |
| struct timespec * | getTimeOut () noexcept |
Private Attributes | |
| std::atomic< bool > | pRun |
| std::atomic< bool > | pWait |
| std::atomic< bool > | isWaiting |
| std::mutex | pWaitWork |
| std::condition_variable | pWorkCond |
| std::thread | pThd |
| std::string | threadName |
| uint32_t | timeoutPeriod |
| pthread_mutex_t | pWaitProc |
| pthread_cond_t | pProcCond |
| struct timespec | timeOut |
Definition at line 129 of file ParallelThread.h.
|
inline |
Definition at line 133 of file ParallelThread.h.
|
inline |
Definition at line 147 of file ParallelThread.h.
|
inlinenoexcept |
Definition at line 181 of file ParallelThread.h.
|
inlineprivatenoexcept |
Definition at line 312 of file ParallelThread.h.
Referenced by getProcess().
|
inlineprivatenoexcept |
Definition at line 339 of file ParallelThread.h.
Referenced by getProcess(), and processWait().
|
inlineprivatenoexcept |
Definition at line 273 of file ParallelThread.h.
Referenced by ParallelThread().
|
inlinenoexcept |
Definition at line 159 of file ParallelThread.h.
Referenced by getProcess(), processWait(), setPriority(), start(), and stop().
|
inlinenoexcept |
Definition at line 215 of file ParallelThread.h.
|
inlineprivatenoexcept |
Definition at line 283 of file ParallelThread.h.
Referenced by start().
|
inlinenoexcept |
Definition at line 204 of file ParallelThread.h.
|
inlinenoexcept |
Definition at line 170 of file ParallelThread.h.
|
inlinenoexcept |
Definition at line 165 of file ParallelThread.h.
|
inlineprivatenoexcept |
Definition at line 317 of file ParallelThread.h.
Referenced by setPriority().
|
inlinenoexcept |
Definition at line 176 of file ParallelThread.h.
|
inlinenoexcept |
Definition at line 154 of file ParallelThread.h.
|
inlinenoexcept |
Definition at line 237 of file ParallelThread.h.
Referenced by run(), and ~ParallelThread().
|
private |
Definition at line 255 of file ParallelThread.h.
Referenced by getState(), ParallelThread(), and run().
|
private |
Definition at line 269 of file ParallelThread.h.
Referenced by getProcess(), init(), processWait(), and run().
|
private |
Definition at line 253 of file ParallelThread.h.
Referenced by isRunning(), ParallelThread(), run(), stop(), and ~ParallelThread().
|
private |
Definition at line 264 of file ParallelThread.h.
Referenced by isRunning(), run(), setThreadPolicy(), and stop().
|
private |
Definition at line 254 of file ParallelThread.h.
Referenced by getProcess(), ParallelThread(), processWait(), and run().
|
private |
Definition at line 268 of file ParallelThread.h.
Referenced by getProcess(), init(), and processWait().
|
private |
Definition at line 260 of file ParallelThread.h.
Referenced by run().
|
private |
Definition at line 261 of file ParallelThread.h.
Referenced by ParallelThread(), run(), runProcess(), and stop().
|
private |
Definition at line 265 of file ParallelThread.h.
Referenced by ParallelThread(), setThreadName(), and setThreadPolicy().
|
private |
Definition at line 270 of file ParallelThread.h.
Referenced by getTimeOut().
|
private |
Definition at line 266 of file ParallelThread.h.
Referenced by getTimeOut(), ParallelThread(), and setTimeOut().