Bud Tippins wrote:
Yes, it seems obvious this line is executed in the "main" thread, but this type of thing makes me nervous. In more complex situations (or when you copy and paste code), assumptions like these make debugging a nightmare. So once you have a reference to the current thread (maybe called "thisThread"), you might consider getting its actual name to be certain...
Just something to consider.