Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/thread/timed mutex"

From cppreference.com
< cpp‎ | thread
m (Text replace - "{{tdcl list end" to "{{dcl list end")
m (Text replace - "{{tdcl" to "{{dcl")
Line 11: Line 11:
 
===Member types===
 
===Member types===
 
{{dcl list begin}}
 
{{dcl list begin}}
{{tdcl list hitem | Member type | Definition}}
+
{{dcl list hitem | Member type | Definition}}
{{tdcl list item | {{tt|native_handle_type}} | ''implementation-defined''}}
+
{{dcl list item | {{tt|native_handle_type}} | ''implementation-defined''}}
 
{{dcl list end}}
 
{{dcl list end}}
  

Revision as of 01:41, 12 June 2012

Template:cpp/thread/timed mutex/sidebar

Defined in header <mutex>
class timed_mutex;
(since C++11)

The class timed_mutex is a synchronization primitive, offering exclusive, non-recursive ownership semantics. The class is non-copyable.

Contents

Member types

Member type Definition
native_handle_type implementation-defined

Member functions

Template:cpp/thread/mutex/dcl list constructorTemplate:cpp/thread/mutex/dcl list lockTemplate:cpp/thread/mutex/dcl list try lockTemplate:cpp/thread/mutex/dcl list try lock forTemplate:cpp/thread/mutex/dcl list try lock untilTemplate:cpp/thread/mutex/dcl list unlockTemplate:cpp/thread/mutex/dcl list native handle
Locking
Native handle