For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Releases a multi-thread lock.

System_CAPS_ICON_important.jpg Important

This function is obsolete. Beginning in Visual Studio 2015, it is not available in the CRT.

void __cdecl _unlock(  
   int locknum  


[in] locknum
The identifier of the lock to release.

Source: mlock.c

Alphabetical Function Reference