Function

xpc_connection_resume(_:)

Declaration

func xpc_connection_resume(_ connection: xpc_connection_t)

Parameters

connection

The connection object which is to be manipulated.

Discussion

In order for a connection to become live, every call to xpc_connection_suspend() must be balanced with a call to xpc_connection_resume() after the initial call to xpc_connection_resume(). After the initial resume of the connection, calling xpc_connection_resume() more times than xpc_connection_suspend() has been called is considered an error.