… | … | ||
---|---|---|---|
70 | } else { | 70 | } else { |
71 | $_[0][0] = 1; | 71 | $_[0][0] = 1; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | It puts the waiting process into thr ready queue again. | 75 | It 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |