nelk/kernel

Null Process

Closed this issue · 2 comments

Null Process
This process runs as the lowest priority process (level 4) in the RTX.. The Null process is the only process assigned to  level  4.  Level  4  is  basically  a  “hidden”  priority  level  reserved  for  the  Null  process.  This  preserves  the  4  levels  of   user priorities (levels 0, .. , 3). Process id 0 is reserved for the null process. Initially, the following pseudo code can be used to design your null process:

loop forever
    release the processor
end loop

Once you have preemption  working,  then  the  “release  the  processor”  line  could  be  removed  from  the  infinite  loop.

Waiting on preemption on piazza.

Closing as we have done this.