I am new to GUI programming and multithreading. I am in the process of creating a real-time application that receives information from my car and makes it in some meaningful way. My application is laid out as 3 threads, a graphical interface (main thread), a rendering thread and a hardware lump stream. The relationship between rendering and hardware streams is a common ring buffer. In the render, I created a timer so that it draws a new interface 20 times per second. I want the thread to tell the main thread that there is a new screen, and I thought that the signal / slots method would work best for this. It depends on my question. When my render calls a slot, say Screen_Avalable, which is in my main window object in the main thread, does this slot / method process in my work thread or main thread?
source
share