qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: cleanup before character devices


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] net: cleanup before character devices
Date: Fri, 8 Jul 2016 17:43:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


On 08/07/2016 17:42, Marc-André Lureau wrote:
> Alternatively, if it's better to keep the atexit(net_cleanup), we
> could have atexit(qemu_chr_cleanup) here, so it's only called on
> normal exit and after net_cleanup.

No, atexit functions are called in LIFO order (which actually makes
sense if you think about it :)).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]