httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject RE: perchild mpm on FreeBSD 4.2
Date Wed, 21 Feb 2001 12:26:48 GMT
On Wed, 21 Feb 2001, Cliff Woolley wrote:

> ---Charles Randall [mailto:crandall@matchlogic.com] said:
> > server/mpm/perchild/.libs/libperchild.a(perchild.o): In function
> > `child_main':
> > /logs/cfr/apache/httpd-2.0/server/mpm/perchild/perchild.c(.text+0x10b5):
> > undefined reference to `ap_sigwait'
>
> ap(r)_sigwait() was never implemented... Jeff worked around this in APR by using
> sigwait() directly like so:
>
> -        apr_sigwait(&sig_mask, &signal_received);
> +#ifdef SIGWAIT_TAKES_ONE_ARG
> +        signal_received = sigwait(&sig_mask);
> +        if (signal_received == -1)
> +#else
> +        if (sigwait(&sig_mask, &signal_received) == -1)
> +#endif
> +        {
> +            /* handle sigwait() error here */
> +        }
> +
>
> Perhaps this should be split out into an apr_sigwait() so that Apache can use it
> as well.

I had actually done that yesterday.  It looks like I put it directly into
apr_private.h.in, but it should have gone into acconfig.h.  Fix on the
way.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message