Contents

IOLockUnlock

Unlock a mutex.

Declaration

void IOLockUnlock(struct IOLock *lock);
void IOLockUnlock(IOLock *lock);

Parameters

  • lock:

    Pointer to the allocated lock.

Discussion

Unlock the mutex and wake any blocked waiters. Results are undefined if the caller has not locked the mutex. This function may block and so should not be called from interrupt level or while a spin lock is held.

See Also

Mutexes