Hello,
I have two processes (One from Qt and one external) which I am using QSharedMemory as my IPC for. In my Qt GUI I have a separate thread that emits a signal to update my QLabel outputs every 100 ms. For some reason when I run the application my GUI’s QLabel outputs randomly run then freeze, then come back, then freeze again, etc. Sometimes if I move the window around it unfreezes from a frozen state with the current value. I am thinking it might have something to do with thread priority because it seems that the GUI just gives up the processor for something else to run and doesn’t update anything. Another thought I had was something with locking/unlocking the shared memory, but I am not sure how that would effect the output of the GUI freezing. I am more inclined to think it is my first assumption. I was wondering what anyone’s thoughts were and if I may be wrong with what the problem is. Any feedback is greatly appreciated.
Thanks
↧