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 
15 {
16 public:
19 
20  bool LockRead();
21  bool LockWrite();
22  bool TryLockRead();
23  bool TryLockWrite();
24  bool Unlock();
25 
26 private:
27  CYIReadWriteMutexPriv *m_pPriv;
28 
30 };
31 
34 #endif /* _YI_READ_WRITE_MUTEX_H_ */
#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
Definition: YiReadWriteMutex.h:14