Thread stops randomly in the middle of a while loop
问题 I have a program which is doing something very interesting. Basicly i have three main threads, all are busy and the problem thread basiclly has a while loop that looks like this: while(variable which is always true) { get some data; process data; print message; } print end message; Now the print message gets printed for about the first 400 rounds but after this the thread just stops running. I have tried making this thread a high priority. I have tried reducing the priority of other threads.