On Jun 6, 9:58 pm, Paul Rubin <http://phr...@nospam.invalid> wrote: > George Neuner <gneun...@comcast.net> writes: > > Even the lightest weight > > user space ("green") threads need a few hundred instructions, minimum, > > to amortize the cost of context switching. > > I thought the definition of green threads was that multiplexing them > doesn't require context switches.
There's always a context switch. It's just whether or not you are switching in/out a virtual stack and registers for the context or the hardware stack/registers. Jeff M. -- http://mail.python.org/mailman/listinfo/python-list