[Mono-dev] Control-C handler

Avery Pennarun apenwarr at gmail.com
Tue Jan 8 16:29:21 EST 2008

On 08/01/2008, Paolo Molaro <lupus at ximian.com> wrote:
> This API implements what 99% of the users need from signal handlers
> in a safe and portable way.

I agree, this certainly covers everything I've ever needed to do with
a signal handler.

I wouldn't bother with semaphores instead of pipes in the initial
implementation - the performance difference should be minimal, and
probably only noticeable in the rare case of things like aync IO
signals or high-frequency timers, both of which probably ought to be
handled specially from C anyway.

Have fun,


More information about the Mono-devel-list mailing list