You.i Engine
YiReadWriteMutex.h
Go to the documentation of this file.
1
// © You i Labs Inc. 2000-2017. All rights reserved.
2
#ifndef _YI_READ_WRITE_MUTEX_H_
3
#define _YI_READ_WRITE_MUTEX_H_
4
5
#include "
framework/YiPredef.h
"
6
12
class
CYIReadWriteMutexPriv;
13
14
class
CYIReadWriteMutex
15
{
16
public
:
17
CYIReadWriteMutex
();
18
~CYIReadWriteMutex
();
19
20
bool
LockRead
();
21
bool
LockWrite
();
22
bool
TryLockRead
();
23
bool
TryLockWrite
();
24
bool
Unlock
();
25
26
private
:
27
CYIReadWriteMutexPriv *m_pPriv;
28
29
YI_DISALLOW_COPY_AND_ASSIGN
(
CYIReadWriteMutex
)
30
};
31
34
#endif
/* _YI_READ_WRITE_MUTEX_H_ */
YI_DISALLOW_COPY_AND_ASSIGN
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition:
YiPredef.h:114
YiPredef.h
CYIReadWriteMutex::TryLockRead
bool TryLockRead()
CYIReadWriteMutex::~CYIReadWriteMutex
~CYIReadWriteMutex()
CYIReadWriteMutex::TryLockWrite
bool TryLockWrite()
CYIReadWriteMutex::LockRead
bool LockRead()
CYIReadWriteMutex::CYIReadWriteMutex
CYIReadWriteMutex()
CYIReadWriteMutex
Definition:
YiReadWriteMutex.h:14
CYIReadWriteMutex::Unlock
bool Unlock()
CYIReadWriteMutex::LockWrite
bool LockWrite()
thread
YiReadWriteMutex.h
Generated on Thu Aug 23 2018 03:08:10 for You.i Engine by
1.8.11