Quote Originally Posted by yodasoda View Post
I want to use a QUDPSocket inside a QThread and I need data to be available to both the qthread and main thread. To be thread safe, do I need to send information from one thread to another via signals or can I just have them reside in either one of them and acces them from both threads. there is no chance that data will be accessed simultaneously.
signals is the best way to transfer data from worker thread to main thread .... check blockingfortuneclientexample ... it will help u a lot ...