Scoped lock.
More...
Scoped lock.
Definition at line 205 of file perf_counter.h.
◆ ScopedLock()
PerfCollector::ScopedLock::ScopedLock |
( |
_In_ LockRoutine * |
lock_routine, |
|
|
_In_ LockRoutine * |
leave_routine, |
|
|
_In_opt_ void * |
lock_context |
|
) |
| |
|
inline |
Acquires a lock using lock_routine.
- Parameters
-
lock_routine | A function pointer for acquiring a lock |
leave_routine | A function pointer for releasing a lock |
lock_context | An arbitrary parameter for lock_enter_routine and lock_leave_routine |
Definition at line 212 of file perf_counter.h.
◆ ~ScopedLock()
PerfCollector::ScopedLock::~ScopedLock |
( |
| ) |
|
|
inline |
◆ leave_routine_
◆ lock_context_
void* PerfCollector::ScopedLock::lock_context_ |
|
private |
◆ lock_routine_
The documentation for this class was generated from the following file: