CFMachPortInvalidationCallBack
Callback invoked when a CFMachPort object is invalidated.
Declaration
typealias CFMachPortInvalidationCallBack = (CFMachPort?, UnsafeMutableRawPointer?) -> VoidParameters
- port:
The CFMachPort object that has been invalidated.
- info:
The
infomember of the Cfmachportcontext structure used when creatingport.
Discussion
Your callback should free any resources allocated for port.
You specify this callback with CFMachPortSetInvalidationCallBack(_:_:).