13 #ifndef __NET_RWLOCK_H__
14 #define __NET_RWLOCK_H__
21 #include <tbb/spin_rw_mutex.h>
31 acquire(lock,
false );
59 myLock.upgrade_to_writer();
64 myLock.downgrade_to_reader();
74 #include <hboost/thread.hpp>
87 myLock.unlock_shared();
136 #endif // __NET_RWLOCK_H__
NET_AutoReadToWriteLock(NET_AutoReadLock &lock)
~NET_AutoReadToWriteLock()
hboost::shared_mutex NET_RWLock
hboost::unique_lock< hboost::shared_mutex > NET_AutoWriteLock
NET_AutoReadUnlock(NET_RWLock &lock)
hboost::shared_lock< hboost::shared_mutex > NET_AutoReadLock
LeafData & operator=(const LeafData &)=delete