[Python-Dev] Reworking the GIL (original) (raw)
Sturla Molden sturla at molden.no
Mon Oct 26 14:43:04 CET 2009
- Previous message: [Python-Dev] Reworking the GIL
- Next message: [Python-Dev] Reworking the GIL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou skrev:
- priority requests, which is an option for a thread requesting the GIL to be scheduled as soon as possible, and forcibly (rather than any other threads). So Python threads become preemptive rather than cooperative? That would be great. :-)
time.sleep should generate a priority request to re-acquire the GIL; and so should all other blocking standard library functions with a time-out.
S.M.
- Previous message: [Python-Dev] Reworking the GIL
- Next message: [Python-Dev] Reworking the GIL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]