CrashThreadState Struct Reference

#include <crashhandler.h>

详细描述

Thread state including registers, stack backtrace and name.

公共成员函数

  CrashThreadState (const char *name=nullptr, void *osThread=nullptr)
  CrashThreadState ( CrashThreadState && src )
  MAXON_OPERATOR_MOVE_ASSIGNMENT ( CrashThreadState )

Public Attributes

const char *  _name
void *  _osThread
UChar   _stackDump [256]
UChar   _codeDump [256]
BaseArray < CrashRegisterValue , BASEARRAY_DEFAULT_CHUNK_SIZE , BASEARRAYFLAGS::NONE , CStdLibAllocator _registers
BaseArray < CrashCallStackEntry , BASEARRAY_DEFAULT_CHUNK_SIZE , BASEARRAYFLAGS::NONE , CStdLibAllocator _stack

构造函数 & 析构函数文档编制

◆  CrashThreadState() [1/2]

CrashThreadState ( const char *  name = nullptr ,
void *  osThread = nullptr  
)
explicit

◆  CrashThreadState() [2/2]

CrashThreadState ( CrashThreadState &&  src )

成员函数文档编制

◆  MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( CrashThreadState   )

Member Data Documentation

◆  _name

const char* _name

◆  _osThread

void* _osThread

◆  _stackDump

UChar _stackDump[256]

◆  _codeDump

UChar _codeDump[256]

◆  _registers

BaseArray < CrashRegisterValue , BASEARRAY_DEFAULT_CHUNK_SIZE , BASEARRAYFLAGS::NONE , CStdLibAllocator > _registers

◆  _stack

BaseArray < CrashCallStackEntry , BASEARRAY_DEFAULT_CHUNK_SIZE , BASEARRAYFLAGS::NONE , CStdLibAllocator > _stack