IOLockLock
Declaration
void IOLockLock(struct IOLock *lock);Parameters
- lock:
Pointer to the allocated lock.
Discussion
Lock a mutex.
Lock the mutex. If the lock is held by any thread, block waiting for its unlock. Locking the mutex recursively from one thread will result in deadlock.