CellModules
mingw_stdthread::timed_mutex Class Reference

#include <mingw.mutex.h>

Inheritance diagram for mingw_stdthread::timed_mutex:
mingw_stdthread::recursive_timed_mutex

Public Types

typedef HANDLE native_handle_type
 

Public Member Functions

 timed_mutex (const timed_mutex &)=delete
 
timed_mutexoperator= (const timed_mutex &)=delete
 
void lock ()
 
void unlock ()
 
bool try_lock ()
 
template<class Rep , class Period >
bool try_lock_for (const std::chrono::duration< Rep, Period > &dur)
 
template<class Clock , class Duration >
bool try_lock_until (const std::chrono::time_point< Clock, Duration > &timeout_time)
 
native_handle_type native_handle () const
 

Protected Types

typedef recursive_timed_mutex base
 

Protected Attributes

HANDLE mHandle
 
_OwnerThread mOwnerThread
 

Detailed Description

Definition at line 408 of file mingw.mutex.h.

Member Typedef Documentation

◆ base

Definition at line 411 of file mingw.mutex.h.

◆ native_handle_type

Definition at line 343 of file mingw.mutex.h.

Constructor & Destructor Documentation

◆ timed_mutex()

mingw_stdthread::timed_mutex::timed_mutex ( const timed_mutex )
delete

Member Function Documentation

◆ lock()

void mingw_stdthread::timed_mutex::lock ( void  )
inline

Definition at line 416 of file mingw.mutex.h.

◆ native_handle()

native_handle_type mingw_stdthread::recursive_timed_mutex::native_handle ( void  ) const
inlineinherited

Definition at line 344 of file mingw.mutex.h.

◆ operator=()

timed_mutex & mingw_stdthread::timed_mutex::operator= ( const timed_mutex )
delete

◆ try_lock()

bool mingw_stdthread::timed_mutex::try_lock ( void  )
inline

Definition at line 427 of file mingw.mutex.h.

◆ try_lock_for()

template<class Rep , class Period >
bool mingw_stdthread::timed_mutex::try_lock_for ( const std::chrono::duration< Rep, Period > &  dur)
inline

Definition at line 436 of file mingw.mutex.h.

◆ try_lock_until()

template<class Clock , class Duration >
bool mingw_stdthread::timed_mutex::try_lock_until ( const std::chrono::time_point< Clock, Duration > &  timeout_time)
inline

Definition at line 445 of file mingw.mutex.h.

◆ unlock()

void mingw_stdthread::timed_mutex::unlock ( void  )
inline

Definition at line 422 of file mingw.mutex.h.

Member Data Documentation

◆ mHandle

HANDLE mingw_stdthread::recursive_timed_mutex::mHandle
protectedinherited

Definition at line 334 of file mingw.mutex.h.

◆ mOwnerThread

_OwnerThread mingw_stdthread::recursive_timed_mutex::mOwnerThread
protectedinherited

Definition at line 340 of file mingw.mutex.h.


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