Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

mutithreaded program using signals and signal handler

$
0
0
i shud have 4 threads in my main program 1) received_data – first threads receive messages 2) process_data – whenever a message is received in first thread a signal should be sent to second thread for processing data – message id received from first thread should be used for processing data 3) health_data – this thread sends health message for every 20 seconds 4) display_data – this thread should display status in the gui. i have written first thread which is working successfully, but am not getting idea how to send a signal when message is received and how to attach a signal handler when signal is received with the function in the second thread. kindly suggest me for doing this

Viewing all articles
Browse latest Browse all 13965

Latest Images

Trending Articles



Latest Images