[Interest] QMap crash when using QtConcurrent::blockingMapped()
Thiago Macieira
thiago.macieira at intel.com
Fri Oct 27 19:03:46 CEST 2017
On Friday, 27 October 2017 09:43:57 PDT Elvis Stansvik wrote:
> Reentrant in the object oriented context of Qt means: It's safe to
> call member functions from different threads _if_ the calls are made
> on different instances.
>
> In your case you were making calls on the same instance.
Calling const functions on the same instance is safe, provided no other
threads are calling non-const functions.
He was calling a non-const function.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list