Espacios de nombres
Variantes
Acciones

Conceptos C++: Lockable

De cppreference.com
< cpp‎ | concept

 
 
C + + conceptos
Básica
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-Wide
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Container
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elementos contenedores
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Números aleatorios
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Concurrencia
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Lockable
(C++11)
(C++11)
(C++11)
Otros
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
El concepto Lockable extiende el concepto BasicLockable para incluir bloqueo intentado .
Original:
The Lockable concept extends the BasicLockable concept to include attempted locking.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Requisitos

Para L tipo a ser Lockable, debe cumplir la condición anterior, así como la siguiente:
Original:
For type L to be Lockable, it must meet the above condition as well as the following:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Expression Effects Return value
m.try_lock() Attempts to acquire the lock for the current execution agent without blocking. If an exception is thrown, no lock is obtained. true if the lock was acquired, false otherwise

[editar] Ver también