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

Christopher David Howie me at chrishowie.com
Mon May 24 16:51:29 EDT 2010

On 05/24/2010 04:18 PM, Styne wrote:
> I am adding it to ExceptionManager.UnhandledException like it says on 
> http://www.mono-project.com/GtkSharpNewInVersion2x
> http://www.mono-project.com/GtkSharpNewInVersion2x 

Ah, right, that makes perfect sense then.  Your event handler will
indeed be called from the main loop.

> Ah ok that makes more sense. I take it that has something to do with
> why the dialogs aren't drawn properly until I force a UI event to
> occur.

If the dialogs aren't drawing without hacks then something else is wrong...

Anyway glad to be of service!  Threading issues related to the main loop
can indeed be tricky buggers...

Chris Howie

If you correspond with me on a regular basis, please read this document:

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5


This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses you are
agreeing that I am, by definition, "the intended recipient," and that I
may do whatever I wish with the contents of any message you send me,
unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.

More information about the Gtk-sharp-list mailing list