65 mutex & operator = (
mutex const & rhs) =
delete;
81 std::shared_ptr<detail::mutex_impl>
A mutex object to ensures atomicity.
std::vector< pointer_t > vector_t
A vector of mutexes.
std::shared_ptr< mutex > pointer_t
Shared pointer to a mutex.
std::vector< mutex > direct_vector_t
A vector of mutexes.
bool dated_wait(std::uint64_t const date)
Wait on a mutex until the specified date.
bool timed_wait(std::uint64_t const usec)
Wait on a mutex condition with a time limit.
void wait()
Wait on a mutex condition.
void safe_signal()
Signal a mutex.
mutex()
An inter-thread mutex to ensure unicity of execution.
void unlock()
Unlock a mutex.
void signal()
Signal at least one mutex.
std::shared_ptr< detail::mutex_impl > f_impl
The pthread mutex implementation.
std::uint32_t f_reference_count
The lock reference count.
void broadcast()
Broadcast a mutex signal.
void safe_broadcast()
Broadcast a mutex signal.
bool try_lock()
Try locking the mutex.
~mutex()
Clean up a mutex object.
mutex * g_system_mutex
The system mutex.