[CSE]  Advanced Operating Systems 
 COMP9242 2002/S2 
UNSW

PRINTER Printer-Friendly Version
Administration               
- Notices
- Course Intro
- Consultations
# On-line Survey (closed)
- Survey Results
 
Work
- Lectures
- Milestone 0
- Project Admin
- Project Spec
- Project FAQ
- Exam
 
Documentation
- ASysT Lab
- L4 source browser
- Sulima ISA Simulator
R4x00 ISA Summary 
MIPS R4700 ReferenceMIPS R4000 User Manual 
- Network Driver
- GT64111
 
Related Info
- Aurema OS Prize
- OS Hall of Fame
 
History
- 2000
- 1999
- 1998
 
Staff
- Gernot Heiser (LiC)

 
Valid HTML 4.0!
next up previous
Next: Manipulate Scheduling Parameters: thread_schedule Up: 01-l4 Previous: Thread Manipulation: lthread_ex_regs System

Release CPU: thread_switch System Call

The calling thread voluntarily releases the CPU.
  • May specify another thread to continue immediately
    (``time slice donation'').
    • Destination thread gets remaining time slice ``for free''.
    • Normal scheduling taken at expiry.

  • May yield CPU by not specifying valid destination thread.
    • Remaining time thread is forfeit.
    • Normal scheduling action taken immediately
      (possibly re-scheduling caller thread).



Gernot Heiser 2002-08-07