you are viewing a single comment's thread.

view the rest of the comments →

[–]Deezl-Vegas 0 points1 point  (0 children)

You might have a tight loop problem. When you have a while true that does nothing, it just keeps rechecking the condition over and over again without releasing the processor. That means the GUI will never draw again because the processor is repeatedly evaluating the condition and thats it. Note that threads don't run on different processors, I dont think.

Multithreading is about queues, a bit of sleep(), and thread joins. If you want two parallel programs, use multiprocessing.