| description | Learn more about: improper_lock Class | |||
|---|---|---|---|---|
| title | improper_lock Class | |||
| ms.date | 11/04/2016 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 8f494942-7748-4a2a-8de2-23414bfe6346 |
This class describes an exception thrown when a lock is acquired improperly.
class improper_lock : public std::exception;| Name | Description |
|---|---|
| improper_lock | Overloaded. Constructs an improper_lock exception. |
Typically, this exception is thrown when an attempt is made to acquire a non-reentrant lock recursively on the same context.
exception
improper_lock
Header: concrt.h
Namespace: concurrency
Constructs an improper_lock exception.
explicit _CRTIMP improper_lock(_In_z_ const char* _Message) throw();
improper_lock() throw();_Message
A descriptive message of the error.
concurrency Namespace
critical_section Class
reader_writer_lock Class