"Roose" <[EMAIL PROTECTED]> writes: > Well, then of course you know I have to say: An OS does not run inside a > browser. There's a sentence I never thought I'd utter in my lifetime. > > So that is an irrelevant example, since it obviously isn't a task scheduler > in the context of this thread.
Huh? I'm just baffled why you think writing a scheduler in an OS is harder than writing one in an application. You have some means of doing a coroutine switch in one situation, and some means of doing a hardware context switch in the other. Aside from that the methods are about the same. Why do you think there's anything difficult about doing this stuff in Python, given the ability to call low level routines for some hardware operations as needed? -- http://mail.python.org/mailman/listinfo/python-list