ln006 - Interprocess Communication Why is it so tricky to...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Interprocess Communication Why is it so tricky to program Quagents? The body is represented by one process The controller by another process Both processes communicate with each other by passing messages The really tricky part is that these messages are asynchronous ! IPC Interprocess Communication
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interprocess Communication Quake2 World Quagent Controller Interprocess Communication Channel (QuagentSocket) Process
Background image of page 2
Interprocess Communication Synchronous Communication P1 P2 Messages Process executing Process waiting Asynchronous Communication P1 P2 Messages Process executing No Waiting! Hand Shaking
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interprocess Communication Asynchronous communication is more natural in our setting Consider the alternatives: the brain stops working while body is walking the body stops walking while the brain is working neither of these alternatives is very desirable violates one of our central dogmas: be as realistic as possible we want both processes to be as unconstrained as possible so that each can perform their respective function as efficiently as possible
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2011 for the course CSC 592 taught by Professor Staff during the Spring '11 term at Rhode Island.

Page1 / 10

ln006 - Interprocess Communication Why is it so tricky to...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online