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(); }
static const bool is_recursive_mutex
static const bool is_fair_mutex
scoped_lock(padded_mutex &m, bool write=true)
Base class for types that should not be copied or assigned.
void acquire(padded_mutex &m, bool write=true)
scoped_lock(padded_mutex &m)
bool try_acquire(padded_mutex &m)
static const bool is_rw_mutex
The scoped locking pattern.
bool downgrade_to_reader()
Mutex::scoped_lock my_scoped_lock
bool try_acquire(padded_mutex &m, bool write=true)
void acquire(padded_mutex &m)
Mutex::scoped_lock my_scoped_lock
static const size_t cache_line_size