Say I have an event with 2 subscribers (everything occurs in the same thread) - one subscriber writes to a log file, the other shows a MessageBox.
If the MessageBox is the first on the subscription list, then the log entry is not written until the after the user closes the message box. So the time in the log entry will really be the time the message box was closed, not the time the event occurred.
It seems the best solution is to have the log writer subscribe to the event before the code that displays the message box. However, in a similiar question here: http://stackoverflow.com/questions/374398/are-event-subscribers-called-in-order-of-subscription
the best answer was to never rely on the order of the subscribers. So how do I prevent the conflict without worrying about their order?