ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/doc/cede-vs-schedule
(Generate patch)

Comparing Coro/doc/cede-vs-schedule (file contents):
Revision 1.1 by pcg, Wed Aug 27 01:38:42 2003 UTC vs.
Revision 1.3 by root, Mon Nov 6 19:41:42 2006 UTC

70 } else { 70 } else {
71 $_[0][0] = 1; 71 $_[0][0] = 1;
72 } 72 }
73 } 73 }
74 74
75It puts the waiting process into thr ready queue again. 75It puts the waiting process into the ready queue again.
76 76
77"cede" is implemented like this (in C, but the basic idea is the same): 77"cede" is implemented like this (in C, but the basic idea is the same):
78 78
79 sub cede { 79 sub cede {
80 $current->ready; 80 $current->ready;
85 85
86-- 86--
87 -----==- | 87 -----==- |
88 ----==-- _ | 88 ----==-- _ |
89 ---==---(_)__ __ ____ __ Marc Lehmann +-- 89 ---==---(_)__ __ ____ __ Marc Lehmann +--
90 --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| 90 --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de |e|
91 -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ 91 -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
92 The choice of a GNU generation | 92 The choice of a GNU generation |
93 | 93 |
94 94

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines