AsynchronousTask: add _async_wait method
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Dec 2012 01:01:59 +0000 (17:01 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Dec 2012 01:04:27 +0000 (17:04 -0800)
commita3100be184ba1cac2f672f0a1cadcf01690c6d3f
tree53fa53cd147e24c7230daa71ddd7821fd6803108
parent7ebb2f54877edb28621c33e380f8777b1b1dc201
AsynchronousTask: add _async_wait method

For cases where _start returns synchronously, this method is a
convenient way to trigger an asynchronous call to self.wait()
(in order to notify exit listeners), avoiding excessive event
loop recursion (or stack overflow) that synchronous calling of
exit listeners can cause.
pym/_emerge/AbstractEbuildProcess.py
pym/_emerge/AsynchronousLock.py
pym/_emerge/AsynchronousTask.py
pym/_emerge/BinpkgFetcher.py
pym/_emerge/BinpkgVerifier.py
pym/_emerge/EbuildBuild.py
pym/_emerge/EbuildFetcher.py
pym/_emerge/EbuildMetadataPhase.py
pym/_emerge/MergeListItem.py
pym/_emerge/PackageUninstall.py
pym/_emerge/SpawnProcess.py