time and thread modules.
Aahz
aahz at pythoncraft.com
Thu Oct 10 12:25:14 EDT 2002
More information about the Python-list mailing list
Thu Oct 10 12:25:14 EDT 2002
- Previous message (by thread): time and thread modules.
- Next message (by thread): time and thread modules.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <mailman.1034263815.6731.python-list at python.org>, <sismex01 at hebmex.com> wrote: > >Does invoking time.sleep() automagically allow a thread switch in >Python? Depends. time.sleep() with a non-zero value causes the current thread to block because time.sleep() uses select() to do its dirty work -- but that doesn't mean any other thread will run. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Project Vote Smart: http://www.vote-smart.org/
- Previous message (by thread): time and thread modules.
- Next message (by thread): time and thread modules.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list