diff options
| author | rtm <rtm> | 2007-08-30 17:39:56 +0000 | 
|---|---|---|
| committer | rtm <rtm> | 2007-08-30 17:39:56 +0000 | 
| commit | de1329dda231ed4b376727c7d2fa50ed27505740 (patch) | |
| tree | 3ae235506b0a8e51ae5d41febf3af8f2854e3c90 | |
| parent | 05109382d6392163f64ed5be66232a2d33f108fe (diff) | |
| download | xv6-labs-de1329dda231ed4b376727c7d2fa50ed27505740.tar.gz xv6-labs-de1329dda231ed4b376727c7d2fa50ed27505740.tar.bz2 xv6-labs-de1329dda231ed4b376727c7d2fa50ed27505740.zip  | |
longjmp -> swtch in comments
| -rw-r--r-- | proc.c | 8 | 
1 files changed, 4 insertions, 4 deletions
@@ -181,9 +181,9 @@ userinit(void)  // Each CPU calls scheduler() after setting itself up.  // Scheduler never returns.  It loops, doing:  //  - choose a process to run -//  - longjmp to start running that process -//  - eventually that process transfers control back -//      via longjmp back to the scheduler. +//  - swtch to start running that process +//  - eventually that process transfers control +//      via swtch back to the scheduler.  void  scheduler(void)  { @@ -243,7 +243,7 @@ yield(void)  }  // A fork child's very first scheduling by scheduler() -// will longjmp here.  "Return" to user space. +// will swtch here.  "Return" to user space.  void  forkret(void)  {  | 
