AudRecordLib
|
#include <rtlresource.h>
Public Member Functions | |
ExclusiveRtlResourceLock (RtlResource &r, BOOLEAN wait=TRUE) | |
~ExclusiveRtlResourceLock () |
A RAII object that acquires an RtlResource for exclusive access
ExclusiveRtlResourceLock::ExclusiveRtlResourceLock | ( | RtlResource & | r, |
BOOLEAN | wait = TRUE |
||
) | [inline] |
Initialises the lock member and acquires it for exclusive access
r | The lock to acquire and subsequently release |
wait | Whether to block for exclusive access if it cannot be granted immediately |
ExclusiveRtlResourceLock::~ExclusiveRtlResourceLock | ( | ) | [inline] |
Releases the exclusive access lock