An exception safe RAII wrapper for a critical_section
object.
More...
#include <concrt.h>
An exception safe RAII wrapper for a critical_section
object.
Constructs a scoped_lock
object and acquires the critical_section
object passed in the _Critical_section parameter. If the critical section is held by another thread, this call will block.
- Parameters
-
_Critical_section | The critical section to lock. |
- See also
- critical_section Class
_CONCRTIMP Concurrency::critical_section::scoped_lock::~scoped_lock |
( |
| ) |
|
Destroys a scoped_lock
object and releases the critical section supplied in its constructor.
- See also
- critical_section Class
Concurrency::critical_section::scoped_lock::scoped_lock |
( |
const scoped_lock & |
| ) |
|
|
private |
critical_section& Concurrency::critical_section::scoped_lock::_M_critical_section |
|
private |
The documentation for this class was generated from the following file: