Contents

IORWLockWrite

Declaration

void IORWLockWrite(struct IORWLock *lock);

Parameters

  • lock:

    Pointer to the allocated lock.

Discussion

Lock a read/write lock for write.

Lock the lock for write, allowing one writer exlusive access. If the lock is held for read or write, block waiting for its unlock. Locking the lock recursively from one thread, for read or write, can result in deadlock.

See Also

Functions