次の方法で共有


improper_lock Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

This class describes an exception thrown when a lock is acquired improperly.

Syntax

class improper_lock : public std::exception;

Members

Public Constructors

Name Description
improper_lock::improper_lock Constructor Overloaded. Constructs an improper_lock exception.

Remarks

Typically, this exception is thrown when an attempt is made to acquire a non-reentrant lock recursively on the same context.

Inheritance Hierarchy

exception

improper_lock

Requirements

Header: concrt.h

Namespace: concurrency

improper_lock::improper_lock Constructor

Constructs an improper_lock exception.

explicit _CRTIMP improper_lock(_In_z_ const char* _Message) throw();

improper_lock() throw();

Parameters

_Message
A descriptive message of the error.

See Also

concurrency Namespace
critical_section Class
reader_writer_lock Class