[Interest] Waiting for specific signal from another thread.
thiago.macieira at intel.com
Sat Nov 10 16:38:17 CET 2012
On sábado, 10 de novembro de 2012 18.08.27, Igor Mironchik wrote:
> I need some functionality to wait for a specific signal was emitted from
> another thread.
> I have QObject that works on his thread. From another thread I
> asynchronously provoke some method in this QObject. And then I need
> blocking mechanism that will wait untill this QObject will emit some
> signal. And I need to be sure that all connected to this signal slots
> were worked.
> How to implemet this in Qt? Any ideas?!
loop.connect(thatObject, SIGNAL(theSignal...), SLOT(quit());
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Interest