Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::interprocess::ipcdetail::posix_named_semaphore Class Reference

#include <named_semaphore.hpp>

Public Member Functions

 posix_named_semaphore (create_only_t, const char *name, unsigned int initialCount, const permissions &perm=permissions())
 
 posix_named_semaphore (open_or_create_t, const char *name, unsigned int initialCount, const permissions &perm=permissions())
 
 posix_named_semaphore (open_only_t, const char *name)
 
 ~posix_named_semaphore ()
 
void post ()
 
void wait ()
 
bool try_wait ()
 
bool timed_wait (const boost::posix_time::ptime &abs_time)
 

Static Public Member Functions

static bool remove (const char *name)
 

Friends

class ipcdetail::interprocess_tester
 

Constructor & Destructor Documentation

boost::interprocess::ipcdetail::posix_named_semaphore::posix_named_semaphore ( create_only_t  ,
const char *  name,
unsigned int  initialCount,
const permissions perm = permissions() 
)
inline
boost::interprocess::ipcdetail::posix_named_semaphore::posix_named_semaphore ( open_or_create_t  ,
const char *  name,
unsigned int  initialCount,
const permissions perm = permissions() 
)
inline
boost::interprocess::ipcdetail::posix_named_semaphore::posix_named_semaphore ( open_only_t  ,
const char *  name 
)
inline
boost::interprocess::ipcdetail::posix_named_semaphore::~posix_named_semaphore ( )
inline

Member Function Documentation

void boost::interprocess::ipcdetail::posix_named_semaphore::post ( )
inline
static bool boost::interprocess::ipcdetail::posix_named_semaphore::remove ( const char *  name)
inlinestatic
bool boost::interprocess::ipcdetail::posix_named_semaphore::timed_wait ( const boost::posix_time::ptime abs_time)
inline
bool boost::interprocess::ipcdetail::posix_named_semaphore::try_wait ( )
inline
void boost::interprocess::ipcdetail::posix_named_semaphore::wait ( )
inline

Friends And Related Function Documentation

friend class ipcdetail::interprocess_tester
friend

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