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_mutex Class Reference

#include <named_mutex.hpp>

Public Member Functions

 posix_named_mutex (create_only_t create_only, const char *name, const permissions &perm=permissions())
 
 posix_named_mutex (open_or_create_t open_or_create, const char *name, const permissions &perm=permissions())
 
 posix_named_mutex (open_only_t open_only, const char *name)
 
 ~posix_named_mutex ()
 
void unlock ()
 
void lock ()
 
bool try_lock ()
 
bool timed_lock (const boost::posix_time::ptime &abs_time)
 

Static Public Member Functions

static bool remove (const char *name)
 

Friends

class named_condition
 
class interprocess_tester
 

Constructor & Destructor Documentation

boost::interprocess::ipcdetail::posix_named_mutex::posix_named_mutex ( create_only_t  create_only,
const char *  name,
const permissions perm = permissions() 
)
inline
boost::interprocess::ipcdetail::posix_named_mutex::posix_named_mutex ( open_or_create_t  open_or_create,
const char *  name,
const permissions perm = permissions() 
)
inline
boost::interprocess::ipcdetail::posix_named_mutex::posix_named_mutex ( open_only_t  open_only,
const char *  name 
)
inline
boost::interprocess::ipcdetail::posix_named_mutex::~posix_named_mutex ( )
inline

Member Function Documentation

void boost::interprocess::ipcdetail::posix_named_mutex::lock ( )
inline
bool boost::interprocess::ipcdetail::posix_named_mutex::remove ( const char *  name)
inlinestatic
bool boost::interprocess::ipcdetail::posix_named_mutex::timed_lock ( const boost::posix_time::ptime abs_time)
inline
bool boost::interprocess::ipcdetail::posix_named_mutex::try_lock ( )
inline
void boost::interprocess::ipcdetail::posix_named_mutex::unlock ( )
inline

Friends And Related Function Documentation

friend class interprocess_tester
friend
friend class named_condition
friend

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