UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnixCrashReporterTracker Namespace Reference

Classes

struct  CrashReporterProcess
 

Enumerations

enum class  SlotStatus : uint32 {
  Available , Spawning , Uploading , Closing ,
  Killing
}
 

Functions

std::atomic< uint32NumUploadingProcesses (0)
 
bool Tick (float DeltaTime)
 
void PreInit ()
 
bool WaitForProcWithTimeout (FProcHandle Proc, const double TimeoutInSec, const double SleepIntervalInSec)
 
void RemoveValidCrashReportTickerForChildProcess ()
 

Variables

CrashReporterProcess Processes [4]
 
uint32 MaxProcessSlots
 

Enumeration Type Documentation

◆ SlotStatus

Enumerator
Available 
Spawning 
Uploading 
Closing 
Killing 

Function Documentation

◆ NumUploadingProcesses()

std::atomic< uint32 > UnixCrashReporterTracker::NumUploadingProcesses ( )

Number of active processes uploading their data at the moment

◆ PreInit()

void UnixCrashReporterTracker::PreInit ( )

Initialize persistent data and tickers

◆ RemoveValidCrashReportTickerForChildProcess()

void UnixCrashReporterTracker::RemoveValidCrashReportTickerForChildProcess ( )

Only call this function from a forked child process. The child process cannot be responsible for a sibling process.

This removes a valid Crash Reporter tracker from the calling process.

◆ Tick()

bool UnixCrashReporterTracker::Tick ( float  DeltaTime)

◆ WaitForProcWithTimeout()

bool UnixCrashReporterTracker::WaitForProcWithTimeout ( FProcHandle  Proc,
const double  TimeoutInSec,
const double  SleepIntervalInSec 
)

Waits for the proc with timeout (busy loop, workaround for platform abstraction layer not exposing this)

Parameters
Procproc handle to wait for
TimeoutInSectimeout in seconds
SleepIntervalInSecsleep interval (the smaller the more CPU we will eat, but the faster we will detect the program exiting)
Returns
true if exited cleanly, false if timeout has expired

Variable Documentation

◆ MaxProcessSlots

uint32 UnixCrashReporterTracker::MaxProcessSlots

Maximum index in the process slot array

◆ Processes

CrashReporterProcess UnixCrashReporterTracker::Processes[4]