[Interest] can the QRegExpEngine cache acces objects belonging to an unloaded library during global destruction?

Thiago Macieira thiago.macieira at intel.com
Tue Jan 30 17:19:17 CET 2018


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






More information about the Interest mailing list