lock

 

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

The latest version of this topic can be found at lock.

Defines the lock class that automates synchronization of access to an object.

#include <msclr\lock.h>  

In this header file:

lock Class

lock_when Enum

C++ Support Library

Show: