On Jul 22, 9:36 am, Ron Garret <rnospa...@flownet.com> wrote: > In article <urr9m.6558$ze1.5...@news-server.bigpond.net.au>, > Neil Hodgson <nyamatongwe+thun...@gmail.com> wrote: > > > milanj: > > > > and all of them use native threads (python still use green threads ?) > > > Python uses native threads. > > But then it adds the global interpreter lock, which completely > undermines the utility of native threads. So yes, it uses native > threads, but it does not actually realize the benefits of that use.
Wrong. It only partially undermines the utility of native threads, not completely. Native threading allows some threads to run while others are blocked in a system call (as well as in a few other minor cases), which can't be done with green threads. Carl Banks -- http://mail.python.org/mailman/listinfo/python-list