GraphLab: Distributed Graph-Parallel API
2.1
|
#include <graphlab/parallel/pthread_tools.hpp>
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 |
Wrapper around pthread's rwlock
Before you use, see parallel_object_intricacies.
Definition at line 518 of file pthread_tools.hpp.
|
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.