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 15:46:45 GMT
Philip Martin <philip@codematters.co.uk> writes:

> Jeff Trawick <trawick@attglobal.net> writes:
> 
> > I contemplated relatively-complex exit sequences so that children
> > didn't exit until the test was over, but life is short, and these test
> > programs should be short too.
> > 
> > Besides adding crude error checking (crude better than none) for some
> > critical APR calls, this patch ensures that apr_terminate() is not
> > called in the child processes.
> 
> 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.

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

Mime
View raw message