Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | Protected Attributes | List of all members
dragon::InterruptionPoint Class Reference

#include <thread.h>

Public Member Functions

 InterruptionPoint ()
 
void Interrupt ()
 
void InterruptionRequested ()
 

Protected Attributes

bool stop
 
std::mutex mutex
 
std::condition_variable cond
 

Constructor & Destructor Documentation

◆ InterruptionPoint()

dragon::InterruptionPoint::InterruptionPoint ( )
inline

Member Function Documentation

◆ Interrupt()

void dragon::InterruptionPoint::Interrupt ( )
inline

◆ InterruptionRequested()

void dragon::InterruptionPoint::InterruptionRequested ( )
inline

Member Data Documentation

◆ cond

std::condition_variable dragon::InterruptionPoint::cond
protected

◆ mutex

std::mutex dragon::InterruptionPoint::mutex
protected

◆ stop

bool dragon::InterruptionPoint::stop
protected

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