PPRuNe Forums - View Single Post - HD Access Every Second
View Single Post
Old 4th November 2006 | 09:09
  #9 (permalink)  
Gertrude the Wombat
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
Originally Posted by boguing
BUT. System idle process is a misnomer. It's not a process.
Whenever I've written an operating system the system idle process has been a fully fledged process (with an address space, a stack, a thread and so on), even though the code consists of a couple of instructions which don't, as you say, actually do anything, and the stack will be the smallest amount that can be allocated.

There are all sorts of good reasons for doing it this way, starting with avoiding potentially horrendous special case idle code in the scheduler - so much easier just to schedule a real live genuine, but low priority, idle process.
Gertrude the Wombat is offline  
Reply