Name

queuing_rw_mutex Class — Class that models ReaderWriterMutex Concept that is fair and scalable.

Synopsis

#include "tbb/queuing_rw_mutex.h"

class queuing_rw_mutex;

Description

A queuing_rw_mutex models the ReaderWriterMutex Concept. A queuing_rw_mutex is scalable, in the sense that if a task has to wait to acquire the mutex, it spins on its own local cache line. A queuing_rw_mutex is fair, in that tasks acquire the lock in the order they requested it, even if they later are suspended. A queuing_rw_mutex is not reentrant.

Members

See Table 7-3.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.252.140