notify_cancel(_:)
Declaration
func notify_cancel(_ token: Int32) -> UInt32Parameters
- token:
(Input) notification token
Return Value
Returns status.
Discussion
Cancel notification and free resources associated with a notification token. Mach ports and file descriptor associated with a token are released (deallocated or closed) when all registration tokens associated with the port or file descriptor have been cancelled.