Paul Eggert wrote:
> > +You may define the C macro @code{GNULIB_SIGPROCMASK_SINGLE_THREAD}, if all
> > the
> > +programs in your package invoke the functions of the @code{sigprocmask}
> > module
> > +(in particular, @code{sigprocmask}, @code{pthread_sigmask}, @code{signal},
> > and
> > +@code{sigaction}) only from a single thread.
>
> I was confused by this, as Gnulib-using programs should invoke
> sigprocmask only from single-threaded processes regardless of whether
> GNULIB_SIGPROCMASK_SINGLE_THREAD is defined. Also, not all functions of
> the sigprocmask module are affected by this module. Also, sigaction is
> not a function of the sigprocmask module.
Yeah, I was lazy and did not want to go into all the details. :)
But I agree, my text could be confusing.
Bruno