CFMessagePortSetName(_:_:)
Sets the name of a local CFMessagePort object.
Declaration
func CFMessagePortSetName(_ ms: CFMessagePort!, _ newName: CFString!) -> BoolParameters
- ms:
The local message port to examine.
- newName:
The new name for
ms.
Return Value
true if the name change succeeds, otherwise false.
Discussion
Other threads and processes can connect to a named message port with CFMessagePortCreateRemote(_:_:).