Contents

allocWithZone:

Returns an instance of the NSMachPort class.

Overview

For backward compatibility on Mach, allocWithZone: returns an instance of the NSMachPort class when sent to the NSPort class. Otherwise, it returns an instance of a concrete subclass that can be used for messaging between threads or processes on the local machine, or, in the case of NSSocketPort, between processes on separate machines.

See Also

Related Documentation

  • Threading Programming Guide
  • Distributed Objects Programming Topics