[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: Details of task_new Operation Up: 01-l4 Previous: Obtain Thread IDs: id_nearest

Task Creation and Deletion: task_new System Call

  • System has fixed number of tasks, initially all inactive.
  • Inactive task is essentially a capability to create an active one.
  • Task is active iff it has a valid pager.
  • task_new deletes an (active or inactive) task and creates a new one
    (with task same number but different version, hence different ID).
  • New task can be
    • active: syscall parameters specify start address, stack pointer,
      pager, exception handler, scheduling priority;
      • initially runs single thread (lthread 0);
    • inactive: does not consume any resources,
      can optionally be donated to new chief.



Gernot Heiser 2002-08-07