LLVM 23.0.0git
llvm::sys::Watchdog Class Reference

This class provides an abstraction for a timeout around an operation that must complete in a given amount of time. More...

#include "llvm/Support/Watchdog.h"

Public Member Functions

LLVM_ABI Watchdog (unsigned int seconds)
LLVM_ABI ~Watchdog ()

Detailed Description

This class provides an abstraction for a timeout around an operation that must complete in a given amount of time.

Failure to complete before the timeout is an unrecoverable situation and no mechanisms to attempt to handle it are provided.

Definition at line 25 of file Watchdog.h.

Constructor & Destructor Documentation

◆ Watchdog()

LLVM_ABI llvm::sys::Watchdog::Watchdog ( unsigned int seconds)

References LLVM_ABI.

Referenced by ~Watchdog().

◆ ~Watchdog()

LLVM_ABI llvm::sys::Watchdog::~Watchdog ( )

References LLVM_ABI, and Watchdog().


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