Sam Roberts schrieb: > I had started to notice that sometimes the code busy loops, and > sometimes it doesn't, it doesn't matter whether I make any code changes, > that turned out to be unrelated. > > Do you have any idea why this should be? Could it be that the delay variable is shared between the threads? Regards, Pit