itsy bitsy Unix
Huw Davies
huw.davies at kerberos.davies.net.au
Thu Mar 17 18:57:41 CST 2005
On 18/03/2005, at 7:04 AM, Paul Koning wrote:
> Come to think of it, cooperative multitasking is trivial, you can code
> your own. It looks like this:
>
> for {;;} { task1(); task2(); task3; /* etc */ }
>
> and each task simply does stuff for a while, then returns when it has
> nothing left to do or when it's time to give another task a shot at
> the CPU. That sort of system is very simple and very reliable.
Anyone who's used a Macintosh before OS-X might want to disagree here.
Huw Davies | e-mail: Huw.Davies at kerberos.davies.net.au
Melbourne | "If soccer was meant to be played in the
Australia | air, the sky would be painted green"
More information about the cctalk
mailing list