[master/f20-branch][PATCH] Handle packaging exits in a better way

Ales Kozumplik akozumpl at redhat.com
Tue Oct 15 11:27:32 UTC 2013


On 10/15/2013 12:56 PM, Vratislav Podzimek wrote:
> For various reasons we shouldn't call sys.exit() from a non-main thread. But
> since we need some packaging threads to stop right in the middle and deep in the
> stack, the only way that works the same as sys.exit() is raising an exception.
> A special exception that is caught and "translated" into a sys.exit() call from
> the main thread.
>
> This way, packaging doesn't need to have a clue about our queues and exit
> handling.

This is going in the right direction and handling the install thread 
exits definitely needed an improvement. Yea for me.

Ales



More information about the anaconda-patches mailing list