libcopp  1.1.0
Data Structures | Namespaces
lock_holder.h File Reference

锁管理器 Licensed under the MIT licenses. More...

#include <cstring>
#include "config/compiler_features.h"
Include dependency graph for lock_holder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  util::lock::detail::default_lock_action< TLock >
 
struct  util::lock::detail::default_try_lock_action< TLock >
 
struct  util::lock::detail::default_unlock_action< TLock >
 
struct  util::lock::detail::default_try_unlock_action< TLock >
 
struct  util::lock::detail::default_read_lock_action< TLock >
 
struct  util::lock::detail::default_read_unlock_action< TLock >
 
struct  util::lock::detail::default_write_lock_action< TLock >
 
struct  util::lock::detail::default_write_unlock_action< TLock >
 
class  util::lock::lock_holder< TLock, TLockAct, TUnlockAct >
 
class  util::lock::read_lock_holder< TLock >
 
class  util::lock::write_lock_holder< TLock >
 

Namespaces

 util
 
 util::lock
 
 util::lock::detail
 

Detailed Description

锁管理器 Licensed under the MIT licenses.

Version
1.0
Author
owent
Date
2015-06-29
Note
实现锁的自管理操作,类似std::lock_guard,增加了针对特定场合使用的try_unlock函数

Definition in file lock_holder.h.