_unlock_unlock

释放多线程锁定。Releases a multi-thread lock.

重要

此函数已过时。This function is obsolete. 从 Visual Studio 2015 开始,CRT 中不再提供此函数。Beginning in Visual Studio 2015, it is not available in the CRT.

语法Syntax

void __cdecl _unlock(  
   int locknum  
);  

参数Parameters

[in] locknum[in] locknum
要释放的锁定标识符。The identifier of the lock to release.

要求Requirements

源: mlock.cSource: mlock.c

另请参阅See Also

按字母顺序的函数参考 Alphabetical Function Reference
_lock_lock