Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An exception safe RAII wrapper for a critical_section object.
class scoped_lock;
Members
Public Constructors
Name |
Description |
---|---|
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. |
|
Destroys a scoped_lock object and releases the critical section supplied in its constructor. |
Inheritance Hierarchy
Requirements
Header: concrt.h
Namespace: Concurrency