apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] Re: apr_proc_mutex is broken
Date Tue, 19 Nov 2002 18:43:22 GMT
Philip Martin <philip@codematters.co.uk> writes:

> Jeff Trawick <trawick@attglobal.net> writes:
> 
> > > > Huh?  I don't understand this.  The child process still destroys the
> > > > semaphore.
> > > 
> > > What code is causing the child process to destroy the semaphore?  That
> > > isn't happening for me.  Only the parent is doing the semctl(IPC_RMID)
> > > with my patch.
> > 
> > add "on my system" at the end of the last sentence...
> 
> Oops, my mistake, I failed to apply the complete patch.  It works here
> too.
> 
> I find disallowing apr_terminate an ugly solution :-(  I suppose it's
> valid for the testsuite problem, but it doesn't look good for
> applications in general.

Yeah, this apparent restriction on apr_terminate()/pool cleanup is
unexpected and ugly.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message