ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::registered_thread Struct Reference

Snapshot entry returned by thread_registry::snapshot. More...

#include <thread_registry.hpp>

Collaboration diagram for threadschedule::registered_thread:
[legend]

Public Attributes

thread_id id
 Stable logical thread id inside the registry.
 
std::thread::id std_id
 Native std::thread identifier.
 
std::string name
 User-visible thread name if known.
 
std::string component
 Optional logical component/group label.
 
bool alive { false }
 Whether thread is currently alive according to the registry.
 

Detailed Description

Snapshot entry returned by thread_registry::snapshot.

Definition at line 33 of file thread_registry.hpp.

Member Data Documentation

◆ alive

bool threadschedule::registered_thread::alive { false }

Whether thread is currently alive according to the registry.

Definition at line 44 of file thread_registry.hpp.

◆ component

std::string threadschedule::registered_thread::component

Optional logical component/group label.

Definition at line 42 of file thread_registry.hpp.

◆ id

thread_id threadschedule::registered_thread::id

Stable logical thread id inside the registry.

Definition at line 36 of file thread_registry.hpp.

◆ name

std::string threadschedule::registered_thread::name

User-visible thread name if known.

Definition at line 40 of file thread_registry.hpp.

◆ std_id

std::thread::id threadschedule::registered_thread::std_id

Native std::thread identifier.

Definition at line 38 of file thread_registry.hpp.


The documentation for this struct was generated from the following file: