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

#include <graphlab/parallel/pthread_tools.hpp>

List of all members.

Public Member Functions

void operator= (const rwlock &m)
 rwlock (const rwlock &)
void readlock () const
void writelock () const
bool try_readlock () const
bool try_writelock () const
void unlock () const
void rdunlock () const
void wrunlock () const

Detailed Description

Wrapper around pthread's rwlock

Before you use, see parallel_object_intricacies.

Definition at line 518 of file pthread_tools.hpp.


Constructor & Destructor Documentation

graphlab::rwlock::rwlock ( const rwlock )
inline

Copy constructor which does not copy. Do not use! Required for compatibility with some STL implementations (LLVM). which use the copy constructor for vector resize, rather than the standard constructor.

Definition at line 541 of file pthread_tools.hpp.


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