Contents

IORecursiveLockAlloc

Declaration

struct IORecursiveLock *IORecursiveLockAlloc();

Return Value

Pointer to the allocated lock, or zero on failure.

Discussion

Allocates and initializes an recursive lock.

Allocates a recursive lock in general purpose memory, and initializes it. Recursive locks function identically to mutexes but allow one thread to lock more than once, with balanced unlocks.

See Also

Functions