17 #ifndef __TBB_mutex_padding_H
18 #define __TBB_mutex_padding_H
25 namespace interface7 {
34 template<
typename Mutex>
59 void release() { my_scoped_lock.release(); }
63 template<
typename Mutex>
90 void release() { my_scoped_lock.release(); }
bool downgrade_to_reader()
static const size_t cache_line_size
bool try_acquire(padded_mutex &m, bool write=true)
static const bool is_recursive_mutex
Base class for types that should not be copied or assigned.
static const bool is_rw_mutex
scoped_lock(padded_mutex &m, bool write=true)
static const bool is_fair_mutex
bool try_acquire(padded_mutex &m)
scoped_lock(padded_mutex &m)
void acquire(padded_mutex &m)
Mutex::scoped_lock my_scoped_lock
The scoped locking pattern.
Mutex::scoped_lock my_scoped_lock
void acquire(padded_mutex &m, bool write=true)