Message98417
Le mercredi 27 janvier 2010 à 10:37 +0000, Marc-Andre Lemburg a écrit :
>
> I find it rather strange that Python 3.x now only supports
> NT and POSIX threads in ceval while it still supports the
> whole set of other thread implementations for the _thread
> module.
>
> Has this been discussed on python-dev ?
Yes, it was. See
http://mail.python.org/pipermail/python-dev/2009-October/093276.html
All these thread_*.h files are still there, but most of them are
deprecated (see the #error's in thread.c). It's the consensus that came
out on the mailing-list.
The one exception is OS/2, which is "supported" as long as Andrew
McIntyre (or someone else, of course) takes care about it. It was
decided that OS/2 compatibility wasn't important enough to bar adding
new features or making improvements.
> Why can't the code necessary to get the new GIL working be
> added to Sjoerd's portable thread library ?
The condition variable "emulation" used by the new GIL under Windows is
not valid as a general condition variable mechanism; this is mentioned
in ceval_gil.h, and a link is given to a much more complicated (but
valid) condition variable emulation. Therefore, I think it could be
detrimental to expose it publicly. |
|
Date |
User |
Action |
Args |
2010-01-27 12:36:05 | pitrou | set | recipients:
+ pitrou, lemburg, nascheme, schmir, kevinwatters, jnoller, brian.curtin, rcohen |
2010-01-27 12:36:03 | pitrou | link | issue7753 messages |
2010-01-27 12:36:02 | pitrou | create | |
|