Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
kcenon::thread::crash_context Struct Reference

Crash context information. More...

#include <crash_handler.h>

Collaboration diagram for kcenon::thread::crash_context:
Collaboration graph

Public Attributes

int signal_number
 
std::string signal_name
 
void * fault_address
 
std::string stack_trace
 
std::chrono::system_clock::time_point crash_time
 
std::thread::id crashing_thread
 

Detailed Description

Crash context information.

Examples
crash_protection/main.cpp.

Definition at line 38 of file crash_handler.h.

Member Data Documentation

◆ crash_time

std::chrono::system_clock::time_point kcenon::thread::crash_context::crash_time
Examples
crash_protection/main.cpp.

Definition at line 43 of file crash_handler.h.

Referenced by main(), and on_system_crash().

◆ crashing_thread

std::thread::id kcenon::thread::crash_context::crashing_thread
Examples
crash_protection/main.cpp.

Definition at line 44 of file crash_handler.h.

Referenced by main(), and on_system_crash().

◆ fault_address

void* kcenon::thread::crash_context::fault_address
Examples
crash_protection/main.cpp.

Definition at line 41 of file crash_handler.h.

Referenced by main().

◆ signal_name

std::string kcenon::thread::crash_context::signal_name
Examples
crash_protection/main.cpp.

Definition at line 40 of file crash_handler.h.

Referenced by main(), and on_system_crash().

◆ signal_number

int kcenon::thread::crash_context::signal_number
Examples
crash_protection/main.cpp.

Definition at line 39 of file crash_handler.h.

Referenced by main(), and on_system_crash().

◆ stack_trace

std::string kcenon::thread::crash_context::stack_trace
Examples
crash_protection/main.cpp.

Definition at line 42 of file crash_handler.h.

Referenced by main(), and on_system_crash().


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