Contents

lock

Takes the debugger lock conditionally.

Declaration

static IODebuggerLockState lock(
 IOService *target );

Parameters

  • target:

    The target or provider of an IOKernelDebugger object.

Return Value

Returns kIODebuggerLockTaken if the lock was taken, or 0 otherwise.

Overview

This method takes the debugger lock if the object given matches the target registered by registerHandler().

See Also

Miscellaneous