Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
semaphore_wrapper.hpp File Reference
#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/detail/os_file_functions.hpp>
#include <boost/interprocess/detail/shared_dir_helpers.hpp>
#include <boost/interprocess/permissions.hpp>
#include <fcntl.h>
#include <unistd.h>
#include <string>
#include <semaphore.h>
#include <sys/stat.h>
#include <boost/assert.hpp>
#include <boost/interprocess/detail/os_thread_functions.hpp>
#include <boost/interprocess/sync/detail/locks.hpp>
#include <boost/interprocess/sync/detail/common_algorithms.hpp>
Include dependency graph for semaphore_wrapper.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::interprocess::ipcdetail::semaphore_wrapper_try_wrapper
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::interprocess
 
 boost::interprocess::ipcdetail
 

Macros

#define BOOST_INTERPROCESS_POSIX_SEM_FAILED   (reinterpret_cast<sem_t*>(-1))
 

Functions

bool boost::interprocess::ipcdetail::semaphore_open (sem_t *&handle, create_enum_t type, const char *origname, unsigned int count=0, const permissions &perm=permissions())
 
void boost::interprocess::ipcdetail::semaphore_close (sem_t *handle)
 
bool boost::interprocess::ipcdetail::semaphore_unlink (const char *semname)
 
void boost::interprocess::ipcdetail::semaphore_init (sem_t *handle, unsigned int initialCount)
 
void boost::interprocess::ipcdetail::semaphore_destroy (sem_t *handle)
 
void boost::interprocess::ipcdetail::semaphore_post (sem_t *handle)
 
void boost::interprocess::ipcdetail::semaphore_wait (sem_t *handle)
 
bool boost::interprocess::ipcdetail::semaphore_try_wait (sem_t *handle)
 
bool boost::interprocess::ipcdetail::semaphore_timed_wait (sem_t *handle, const boost::posix_time::ptime &abs_time)
 

Macro Definition Documentation

#define BOOST_INTERPROCESS_POSIX_SEM_FAILED   (reinterpret_cast<sem_t*>(-1))