Add global_event_loop() and GlibEventLoop.
authorZac Medico <zmedico@gentoo.org>
Thu, 9 Feb 2012 20:04:42 +0000 (12:04 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 9 Feb 2012 20:04:42 +0000 (12:04 -0800)
commit56337b00ea46d96037037816d7b5c7904825b8a9
tree1f4c78f0571dcf2feab17030e4ccdd987839bff5
parent7a6c34cc6bd6eb20a97e05347f87a0157f4ae58a
Add global_event_loop() and GlibEventLoop.

This causes all PollScheduler instances within a given process to share
a singleton EventLoop instance, and also makes it possible to swap in
glib's main loop for all portage event loops in the main process.
pym/_emerge/PollScheduler.py
pym/portage/util/_eventloop/EventLoop.py
pym/portage/util/_eventloop/GlibEventLoop.py [new file with mode: 0644]
pym/portage/util/_eventloop/global_event_loop.py [new file with mode: 0644]