[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: Task and thread management Up: 01-l4 Previous: Release CPU: thread_switch System

Manipulate Scheduling Parameters: thread_schedule System Call

  • Allows setting/inquiring the priority and timeslice length of a thread.
  • Also returns thread state (running/IPC-ing/dead).
    • Partially implemented on MIPS.
  • Scheduling parameters can only be changed for a thread running at a
    lower priority than the caller's maximum controlled priority (MCP).
  • If setting priority, cannot exceed caller's MCP.
  • MCP is task attribute, specified in task_create system call
    (child MCP cannot exceed parent's).



Gernot Heiser 2002-08-07