GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::spinrwlock Class Reference

#include <graphlab/parallel/pthread_tools.hpp>

List of all members.

Public Member Functions

void writelock () const
void wrunlock () const
void readlock () const
void rdunlock () const
void unlock () const

Detailed Description

rwlock built around "spinning" source adapted from http://locklessinc.com/articles/locks/ "Scalable Reader-Writer Synchronization for Shared-Memory Multiprocessors" John Mellor-Crummey and Michael Scott

Definition at line 387 of file pthread_tools.hpp.


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