#include <sync_utils.hpp>
Public Types | |
enum | type { MUTEX, SEMAPHORE } |
Public Member Functions | |
void * | obtain_mutex (const sync_id &id, bool *popen_created=0) |
void * | obtain_semaphore (const sync_id &id, unsigned int initial_count, bool *popen_created=0) |
void | destroy_handle (const sync_id &id) |
void | destroy_syncs_in_range (const void *addr, std::size_t size) |
|
inline |
References boost::iostreams::close_handle, boost::unordered::unordered_map< K, T, H, P, A >::end(), boost::unordered::unordered_map< K, T, H, P, A >::erase(), boost::unordered::unordered_map< K, T, H, P, A >::find(), boost::it, and boost::lock().
Referenced by boost::interprocess::ipcdetail::windows_mutex::~windows_mutex(), and boost::interprocess::ipcdetail::windows_semaphore::~windows_semaphore().
|
inline |
|
inline |
References boost::unordered::unordered_map< K, T, H, P, A >::insert(), boost::it, and boost::lock().
Referenced by boost::interprocess::ipcdetail::windows_mutex::lock(), boost::interprocess::ipcdetail::windows_mutex::timed_lock(), boost::interprocess::ipcdetail::windows_mutex::try_lock(), boost::interprocess::ipcdetail::windows_mutex::unlock(), and boost::interprocess::ipcdetail::windows_mutex::windows_mutex().
|
inline |
References boost::unordered::unordered_map< K, T, H, P, A >::insert(), boost::it, and boost::lock().
Referenced by boost::interprocess::ipcdetail::windows_semaphore::post(), boost::interprocess::ipcdetail::windows_semaphore::timed_wait(), boost::interprocess::ipcdetail::windows_semaphore::try_wait(), boost::interprocess::ipcdetail::windows_semaphore::wait(), and boost::interprocess::ipcdetail::windows_semaphore::windows_semaphore().