[Mono-dev] Control-C handler

Avery Pennarun apenwarr at gmail.com
Wed Jan 2 11:10:30 EST 2008


On 02/01/2008, Paolo Molaro <lupus at ximian.com> wrote:
> On 12/21/07 pablosantosluac wrote:
> > Ok, I think I got a bit lost here... how should I proceed then?
>
> There is no guarantee that you can hook to signal handlers
> from C#, we don't support that usage and its inclusion in Mono.Posix is
> a mistake.
> I'm actually going to add code to mono to detect such unsupported uses
> so we can flag error reports from applications that hook signal handlers
> as unusable and we can discard them.

Surely there must be *some* way to handle signals from inside a mono
app?  This seems like a huge omission.  Even perl can do it!
(http://search.cpan.org/~lbaxter/Sys-SigAction-0.10/lib/Sys/SigAction.pm)

Have fun,

Avery



More information about the Mono-devel-list mailing list