-
+
REAL TIME PROGRAMMING, Part II
- ordinary scheduling runs threads in "time-share" mode, trying to
find a balance between I/O bound and compute bound programs.
- completely fails for realtime programming:
threads processing audio/MIDI must run whenever they
need to (whenever I/O is possible).
THINGS THAT DELAY THREADS
- other threads running
- waiting for unrequested disk I/O (page fault handling)
- waiting for requested disk I/O
- blocked on some condition (kernel/user space locks + semaphores)
- IRQ's blocked