[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 Creation and Deletion: Up: 01-l4 Previous: Revoke Mappings: fpage_unmap System

Obtain Thread IDs: id_nearest System Call

  • Returns the ID of the thread which would really receive a message sent to a specified destination thread.
  • Also returns a type field, indicating the direction of the IPC with respect to the clan boundary.

  • If destination is:
    inside own clan:
    returns destination thread ID, type = same;
    outside own clan:
    returns own chief's ID, type = outer;
    in subclan of own clan:
    returns ID of chief (within own clan) of subclan, type = inner;
    nil:
    returns own thread ID.



Gernot Heiser 2002-08-07