You are using a mutex to ensure that there is no race condition between your thread?
You are using a mutex to ensure that there is no race condition between your thread?
"If you lie to the compiler, it will get its revenge." - Henry Spencer
Hi,
Sorry for delay.
I'm using two QWaitConditions. The two threads work well without deadlocks. The problem is on visualization on the main thread where I don't want to use one more wait condition.You are using a mutex to ensure that there is no race condition between your thread?
Thanks,
Òscar Llarch i Galán
Sorry for the delay with my reply, but the product my company is working is close to master date, so it's some sort of busy weeks at the moment.
Why not use another QWaitCondition? One way or the other you must tell your GUI Thread when it is allowed to fetch new data to render.
"If you lie to the compiler, it will get its revenge." - Henry Spencer
Bookmarks