[Interest] Calling QT Class method from pthread thread
Gonzalo Aguilar Delgado
gaguilar at aguilardelgado.com
Wed Oct 4 17:39:05 CEST 2017
Hello Kostantin,
Yes it is. Because the code of the function starts to execute. In the
example the processMessage. Until the operation stops on emit and the
program crash.
Quite nasty.
It's something about threading... But what?
On 04/10/17 17:34, Konstantin Shegunov wrote:
> This is the first line where you dereference the this pointer from
> what I could see, isn't it?. Are you sure you're getting a valid
> object? I mean are you sure MQMessageManager* self
> =static_cast<MQMessageManager*>(data); is what you think it is?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171004/ace7d5d3/attachment.html>
More information about the Interest
mailing list