With FreeBSD 8.0 it seems like you can't block pending but undelivered signals

Richard Sharpe realrichardsharpe at gmail.com
Wed Jan 9 11:04:09 MST 2013


On Wed, Jan 9, 2013 at 8:59 AM, Jeremy Allison <jra at samba.org> wrote:
> On Wed, Jan 09, 2013 at 06:28:20AM -0800, Richard Sharpe wrote:
>
>
> Cool ! Let's work on getting a portable tested fix into tevent !

OK, so we could test for the existence of ucontext_t as well as
SA_SIGINFO and only allow such signal handling if both exist.

Ie, HAVE_UCONTEXT_T

Linux has it, as does FreeBSD and I am told that Solaris has it.

I wonder what other versions of UNIX have?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list