[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Real" Multitasking (Re: GNO questions...)



toddpw@cco.caltech.edu (Todd P. Whitesel) writes:

>By the way, unix also does cooperative multitasking, to prevent daemons from
>pegging the load average. "man select" for more info.

Could you explain? I just checked out the manpage and select(3C) looks like
it's got nothing to do with multitasking. It just tells you, given a bunch
of file descriptors, which ones are ready for reading/writing/"other"

Besides, why would cooperative multitasking be necesary to prevent daemons
from pegging the load average?

If there is cooperative multitasking, that means something runs and returns
control to the system when IT wants, not when the system wants. So which are
the processes that UNIX won't automatically switch?
 ______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | Suicide (n.): What to do if Macs   |
|________________|________________|_______________take over the world__|
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~