diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-02-15 20:58:10 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-15 20:58:10 -0800 |
commit | 5697972e9f2a3021ca6ed99b24e23e32f7515bf9 (patch) | |
tree | b44e73d8fdd09bdea04eacf8a79d9bace364f398 /pym/_emerge/create_world_atom.py | |
parent | 611ec3edf3695453639f2436049d0005f6e6f769 (diff) | |
download | portage-5697972e9f2a3021ca6ed99b24e23e32f7515bf9.tar.gz portage-5697972e9f2a3021ca6ed99b24e23e32f7515bf9.tar.bz2 portage-5697972e9f2a3021ca6ed99b24e23e32f7515bf9.zip |
EventLoop.iteration: sleep if no IO handlers
Sleep so that we don't waste cpu time by looping too quickly. This
makes EventLoop useful for code that needs to wait for timeout
callbacks regardless of whether or not any IO handlers are currently
registered.
Diffstat (limited to 'pym/_emerge/create_world_atom.py')
0 files changed, 0 insertions, 0 deletions