资 源 简 介
Description
ActorKit provides an Objective-C implementation of asynchronous inter-thread message passing.
The purpose of ActorKit is to facilitate the implementation of concurrent software on both the desktop (Mac OS X) and embedded devices (iPhone OS). On the iPhone, thread-based concurrency is a critical tool in achieving high interface responsiveness while implementing long-running and potentially computationally expensive background processing. On Mac OS X, thread-based concurrency opens the door to leveraging the power of increasingly prevalent multi-core desktop computers.
To this end, ActorKit endeavours to provide easily understandable invariants for concurrent software:
All threads are actors.
Any actor may create additional actors.
Any actor may asynchronously deliver a message to another actor.
An actor may synchronously wait for message delivery from another actor.
As an actor may only sy