The code that I want to write is like this:
void MethodOnThreadA() { for (;;) { // Do stuff if (ErrorConditionMet) ThrowO
I don't think that's a good idea.. Take another crack at this problem - Try using some other mechanism like shared data to signal between threads.