[Gtk-sharp-list] Creating critical section for unhandled exception handler

Styne jason.steenstrapickens at orionhealth.com
Fri May 21 00:31:47 EDT 2010

Christopher David Howie wrote:
> This is probably the main thread, if you are responding to a Gtk# event,
> since these events are dispatched on the main thread.  When you show the
> dialog, the Run() call will indeed block, but the main loop will be
> re-entered on the same thread so that events in the dialog can be
> processed.
> So if some event occurs multiple times, the same event that triggers the
> code you are running to show the dialog, then that code will be
> re-entered recursively.

Thanks for your response. You are correct in that this is event is being
dispatched from the main thread but my understanding was that the lock
should provide mutual exclusion between threads within the critical section.
Why is this not the case?
View this message in context: http://mono.1490590.n4.nabble.com/Creating-critical-section-for-unhandled-exception-handler-tp2225522p2225606.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list