#include <ThreadGroup.h>
Inheritance diagram for carla::ThreadGroup:
Collaboration diagram for carla::ThreadGroup:Public Member Functions | |
| template<typename F > | |
| void | CreateThread (F &&functor) |
| template<typename F > | |
| void | CreateThreads (size_t count, F functor) |
| void | JoinAll () |
| ThreadGroup ()=default | |
| ~ThreadGroup () | |
Private Attributes | |
| std::vector< std::thread > | _threads |
Additional Inherited Members | |
Private Member Functions inherited from carla::NonCopyable | |
| NonCopyable ()=default | |
| NonCopyable (const NonCopyable &)=delete | |
| NonCopyable (NonCopyable &&)=delete | |
| NonCopyable & | operator= (const NonCopyable &)=delete |
| NonCopyable & | operator= (NonCopyable &&)=delete |
Definition at line 17 of file ThreadGroup.h.
|
default |
|
inline |
Definition at line 22 of file ThreadGroup.h.
References JoinAll().
Here is the call graph for this function:
|
inline |
Definition at line 27 of file ThreadGroup.h.
References _threads.
Referenced by CreateThreads(), and TEST().
Here is the caller graph for this function:
|
inline |
Definition at line 32 of file ThreadGroup.h.
References _threads, and CreateThread().
Referenced by carla::ThreadPool::AsyncRun(), and TEST().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 39 of file ThreadGroup.h.
References _threads, and DEBUG_ASSERT_NE.
Referenced by carla::ThreadPool::Stop(), TEST(), and ~ThreadGroup().
Here is the caller graph for this function:
|
private |
Definition at line 51 of file ThreadGroup.h.
Referenced by CreateThread(), CreateThreads(), and JoinAll().
1.8.13