Hi
I'm new to qt, so this could be a standard question.
I've a GUI to do some conficuration for a external hardware (connected over ethernet) and to display some results. The device could be initialized and then enabled for streaming (~1GBit/s). Depending on the used hardware driver I've to repaket de received data. So there would be a lot of stuff to do.
My question now is, how to share the data between the threads. The GUI contains all information for the device iniziaalization (about 30 variables, strings and double). But the worker thread has the result (1024 double each 20ms).
What is the best methid to deal with that? Mutex, signal/slot, message queue, gate keeper...
I would also be able to trigger some functions from the worker: for example if I change a value un the GUI, it has also to be changed on the device with the driver functions...
I hope my problem is clear.
Best regards,
P51D
Bookmarks