C/C++ API Reference
Loading...
Searching...
No Matches
pw::LazyInitThreadChecker Class Reference

Overview

A BaseLockable class that works like ThreadChecker but only initializes its thread id when first locked instead of construction time.

This is useful for cases where you may not have access to right thread id at construction time, but still want to assert fields are always accessed on the same thread.

Public Member Functions

void lock ()
 
void unlock ()
 

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