Message Passing: Difference between revisions

m
Fixed typo
[unchecked revision][unchecked revision]
m (Tidy up 'see also' section)
m (Fixed typo)
Line 19:
 
==The "Port" abstraction==
Many Microkernelmicrokernels use the notion of port, which is a 'point for receiving messages', or a 'one-way message communication channel'. The idea of ports is that you no longer send a message to a thread but to a port (which is linked to a unique thread).
 
Ports can be allocated by servers at will and may restrict who can send and who cannot send on it. Using ports, the 'A listen to C, B sends to A' problem above can be solved by creating a new port p that A will open to C only (and sending a message to C to tell p's port number). A can now wait for C's message by receiving on p only. B's attempt to send a message on port q of A will not interfere.
252

edits