Contents

CFMachPortInvalidationCallBack

Callback invoked when a CFMachPort object is invalidated.

Declaration

typealias CFMachPortInvalidationCallBack = (CFMachPort?, UnsafeMutableRawPointer?) -> Void

Parameters

  • port:

    The CFMachPort object that has been invalidated.

  • info:

    The info member of the Cfmachportcontext structure used when creating port.

Discussion

Your callback should free any resources allocated for port.

You specify this callback with CFMachPortSetInvalidationCallBack(_:_:).

See Also

Callbacks