Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

tbb::queuing_rw_mutex Class Reference

Reader-writer lock with local-only spinning. More...

#include <queuing_rw_mutex.h>

List of all members.

Public Member Functions

 queuing_rw_mutex ()
 Construct unacquired mutex.
 ~queuing_rw_mutex ()
 Destructor asserts if the mutex is acquired, i.e. q_tail is non-NULL.

Static Public Attributes

const bool is_rw_mutex = true
const bool is_recursive_mutex = false
const bool is_fair_mutex = true

Friends

class scoped_lock


Detailed Description

Reader-writer lock with local-only spinning.

Adapted from Krieger, Stumm, et al. pseudocode at http://www.eecg.toronto.edu/parallel/pubs_abs.html#Krieger_etal_ICPP93


The documentation for this class was generated from the following file:

Copyright © 2005-2008 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.