[Interest] Calling QT Class method from pthread thread

Thiago Macieira thiago.macieira at intel.com
Wed Oct 4 18:25:44 CEST 2017


On Wednesday, 4 October 2017 08:57:07 PDT Thiago Macieira wrote:
> This variable is wrong. The shared_null in Qt 5 has a counter always equal
> to 0. It should never grow from it, so 299 and 3 are definitely wrong. The
> debugging information is coming from Qt 4 because of the presence of
> "array" member.

Actually, the counter in the QArrayData::shared_null is -1, not 0. A refcount 
of 0 has a different meaning.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list