[Interest] post event between threads

Samuel Gaist samuel.gaist at edeltech.ch
Mon Apr 2 18:12:56 CEST 2012


Hi,

If you just want to signal that something has arrived, why not simply use signals and slots ? They work across threads.

Hope this helps
Samuel

On 2 avr. 2012, at 18:05, Riccardo Roasio wrote:

> Hi,
> 
> how can i post an event from a thread to another?
> 
> my application have a thread that read from a serial port and another
> thread that wait for something received on the serial port.
> 
> I cannot use postEvent because in one thread i don'e have reference to
> the other...
> 
> How can i do that?
> 
> Thanks,
> Riccardo
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list