Nebula
Loading...
Searching...
No Matches
win32readwritelock.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10namespace Win32
11{
12
14{
15public:
20
22 void LockRead();
24 void LockWrite();
25
27 void UnlockRead();
29 void UnlockWrite();
30
31private:
32 SRWLOCK lock;
33};
34
35} // namespace Win32
Definition win32readwritelock.h:14
void LockWrite()
Lock for write.
Definition win32readwritelock.cc:42
Win32ReadWriteLock()
Constructor.
Definition win32readwritelock.cc:16
void UnlockWrite()
Release write.
Definition win32readwritelock.cc:62
void UnlockRead()
Release read.
Definition win32readwritelock.cc:52
~Win32ReadWriteLock()
Destructor.
Definition win32readwritelock.cc:24
void LockRead()
Lock for read.
Definition win32readwritelock.cc:32
SRWLOCK lock
Definition win32readwritelock.h:32
[TODO: Describe Win32 subsystem]