On terça-feira, 30 de janeiro de 2018 05:38:32 PST René J. V. Bertin wrote: > Taking this a step further: is it actually possible to get the aboutToQuit > signal in the middle of an access to this cache, in particular an access by > *the same thread*? No non-deadlocking lock would protect against that so > what would be the most appropriate course of action?
Your answer is in the question itself: if a thread is doing something, can it at the same time be doing something else? When you say "non-deadlocking lock", you mean "reentrant mutex". -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest