Recently, I'am working on multi-threading programming,However I encounter the following trouble.
On one hand,I make the program to run a dead loop.On the other hand, I try to perform another operation(such as open a dialogue).Sometimes,this might cause programe collapsed,followed by lots of exceptions.I don't know how to solve this problem, so I need your help.
Any help would be appreciated.