Changes

Jump to: navigation, search

IPC Protocols

401 bytes added, 21:44, 15 May 2009
Desiderata
# All messages sent from one actor to another adhere to the semantics of the actor's protocol. For the TCP example, this means that an actor in the "CLOSED" state can't send a "FIN" message.
# All messages received by an actor adhere to the semantics of the actor's protocol. This means that an actor doesn't have to worry about processing mal-formed messages sent by another, misbehaving actor. Like the message type-safety desideratum, this is likely to be a security concern and is thus important.
# ???Resource ownership should be clear, and how resources are cleanup on errors/crashes should be well-defined. Need to handle the separate cases: cleanup on shutdown, cleanup on crash, cleanup on GC/refcount. (Whether this is a protocol-layer concern is not yet clear.)# Objects should be shared carefully so as to avoid creating cycles and/or leaking information from priveleged->unprivileged processes.
== Implementation Overview ==
Confirm
699
edits

Navigation menu