23.07.2013 Views

Inter-Process-Communication - Operating Systems Group

Inter-Process-Communication - Operating Systems Group

Inter-Process-Communication - Operating Systems Group

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Microkernel<br />

Construction<br />

Benjamin<br />

Engel<br />

Torsten<br />

Frenzel<br />

TU Dresden<br />

<strong>Operating</strong> <strong>Systems</strong><br />

<strong>Group</strong><br />

<strong>Inter</strong>rupt IPC<br />

Kernel has driver to program interrupt controller<br />

<strong>Inter</strong>rupts from peripheral devices (disk,network, …) preempt<br />

current activity and trap in the kernel<br />

<strong>Inter</strong>rupts are implemented as special sender object<br />

– Threads can attach itself to interrupts<br />

– Thread can wait and receive message from an interrupt<br />

– Thread can wait on many interrupts using open wait<br />

– One bit of information is transferred<br />

– <strong>Inter</strong>rupt is enqueued into sender queue of receiver thread if thread is<br />

not ready<br />

<strong>Inter</strong>rupt source is disabled after it is has triggered and<br />

needs to be explicitly enabled by the receiver<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!