Export (0) Print
Expand All
div
eof
Expand Minimize
This topic has not yet been rated - Rate this topic

_lock

Acquires a multi-thread lock.

void __cdecl _lock
   int locknum
);
[in] locknum

The identifier of the lock to acquire.

If the lock has already been acquired, this method acquires the lock anyway and causes an internal C run-time (CRT) error. If the method cannot acquire a lock, it exits with a fatal error and sets the error code to _RT_LOCK.

Source: mlock.c

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.