distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::ThreadGroupControlBlock Class Reference

ThreadGroupControlBlock class is a control block for ThreadGroup. More...

#include <ThreadGroupControlBlock.hpp>

Collaboration diagram for distortos::internal::ThreadGroupControlBlock:
[legend]

Public Member Functions

constexpr ThreadGroupControlBlock ()
 ThreadGroupControlBlock's constructor. More...
 
void add (ThreadControlBlock &threadControlBlock)
 Adds new ThreadControlBlock to internal list of this object. More...
 

Private Types

using List = estd::IntrusiveList< ThreadListNode, &ThreadListNode::threadGroupNode, ThreadControlBlock >
 intrusive list of threads (thread control blocks) More...
 

Private Attributes

List threadList_
 list of threads (thread control blocks) in this group More...
 

Detailed Description

ThreadGroupControlBlock class is a control block for ThreadGroup.

Member Typedef Documentation

◆ List

Constructor & Destructor Documentation

◆ ThreadGroupControlBlock()

constexpr distortos::internal::ThreadGroupControlBlock::ThreadGroupControlBlock ( )
inline

ThreadGroupControlBlock's constructor.

Here is the call graph for this function:

Member Function Documentation

◆ add()

void distortos::internal::ThreadGroupControlBlock::add ( ThreadControlBlock threadControlBlock)

Adds new ThreadControlBlock to internal list of this object.

Parameters
[in]threadControlBlockis a reference to added ThreadControlBlock object
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ threadList_

List distortos::internal::ThreadGroupControlBlock::threadList_
private

list of threads (thread control blocks) in this group


The documentation for this class was generated from the following files: