close callback and multiple threads

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

 



On Fri, Dec 15, 2023 at 10:58:29AM +0000, Daniel P. Berrangé wrote:

> If you use the virConnectRegisterCloseCallback() method, you should get
> notified of the connection drop at precisely the right time, every time,
> regardless of whether you happen to be making an API call at the time.

That only gets called once, not for every thread sharing the connection,
so there is no way to clean up all the other threads.

regards
john
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux