Skip to content

cvedia::rt::SafeDetachedThreadBase

Protected Functions

Name
virtual ~SafeDetachedThreadBase()

Protected Attributes

Name
std::mutex detachedThreadMutex_
std::condition_variable detachedThreadCv_
int activeDetachedThreads_
bool destroying_

Friends

Name
class DetachedThreadGuard

Protected Functions Documentation

function ~SafeDetachedThreadBase

inline virtual ~SafeDetachedThreadBase()

Protected Attributes Documentation

variable detachedThreadMutex_

std::mutex detachedThreadMutex_;

variable detachedThreadCv_

std::condition_variable detachedThreadCv_;

variable activeDetachedThreads_

int activeDetachedThreads_ = 0;

variable destroying_

bool destroying_ = false;

Friends

friend DetachedThreadGuard

friend class DetachedThreadGuard(
    DetachedThreadGuard 
);