distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
ThreadGroupControlBlock.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_THREADGROUPCONTROLBLOCK_HPP_
13 #define INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_THREADGROUPCONTROLBLOCK_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace internal
21 {
22 
23 class ThreadControlBlock;
24 
27 {
28 public:
29 
35  threadList_{}
36  {
37 
38  }
39 
46  void add(ThreadControlBlock& threadControlBlock);
47 
48 private:
49 
52 
55 };
56 
57 } // namespace internal
58 
59 } // namespace distortos
60 
61 #endif // INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_THREADGROUPCONTROLBLOCK_HPP_
ThreadControlBlock class is a simple description of a Thread.
Definition: ThreadControlBlock.hpp:40
ThreadGroupControlBlock class is a control block for ThreadGroup.
Definition: ThreadGroupControlBlock.hpp:26
ThreadListNode class header.
List threadList_
list of threads (thread control blocks) in this group
Definition: ThreadGroupControlBlock.hpp:54
void add(ThreadControlBlock &threadControlBlock)
Adds new ThreadControlBlock to internal list of this object.
Definition: ThreadGroupControlBlock.cpp:26
Top-level namespace of distortos project.
constexpr ThreadGroupControlBlock()
ThreadGroupControlBlock's constructor.
Definition: ThreadGroupControlBlock.hpp:34