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

#include <graphlab/parallel/pthread_tools.hpp>

List of all members.

Public Member Functions

 semaphore (const semaphore &)
void operator= (const semaphore &m)
void post () const
void wait () const

Detailed Description

Wrapper around pthread's semaphore

Before you use, see parallel_object_intricacies.

Definition at line 335 of file pthread_tools.hpp.


Constructor & Destructor Documentation

graphlab::semaphore::semaphore ( const semaphore )
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.


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