GraphLab: Distributed Graph-Parallel API
2.1
|
#include <graphlab/parallel/pthread_tools.hpp>
Public Member Functions | |
semaphore (const semaphore &) | |
void | operator= (const semaphore &m) |
void | post () const |
void | wait () const |
Wrapper around pthread's semaphore
Before you use, see parallel_object_intricacies.
Definition at line 335 of file pthread_tools.hpp.
|
inline |
Copy constructor with 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 349 of file pthread_tools.hpp.