bibhukalyana
5th May 2011, 08:20
Hi everyone,
I am using 3 thread in my program.One is gui thread and rest 2 are non-gui thread(x,y).From one non gui thread(x) i am continuously emitting image to gui thread for display.From that same thread i am also emitting the image to the other non gui thread(y) for some operation.There is a button on gui thread & on click it emits a signal to y.Now i want to do this operation immediately but it is taking time due to all emitted signals are queued.
Is there any way to clean the queue or increase the priority or any other way to do this?
I am using 3 thread in my program.One is gui thread and rest 2 are non-gui thread(x,y).From one non gui thread(x) i am continuously emitting image to gui thread for display.From that same thread i am also emitting the image to the other non gui thread(y) for some operation.There is a button on gui thread & on click it emits a signal to y.Now i want to do this operation immediately but it is taking time due to all emitted signals are queued.
Is there any way to clean the queue or increase the priority or any other way to do this?