apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: cvs commit: apr/locks/win32 proc_mutex.c
Date Sun, 21 Oct 2001 16:11:43 GMT
> >  Implement portable accessors for proc mutex. These are equivalent to
> >  apr_os_lock_get/set, but they work for apr_proc_mutex_t types instead.
> >  
> >  I did my best to implement these on non-Unix platforms from how I saw
> >  them implemented for apr_os_lock_get/set, but on those platforms they
> >  are untested.
> 
> Well, this actually breaks things on OS/2 (& probably Win32), not because
> there's anything wrong with it but because proc mutexes aren't yet
> implemented on either platform so there's no os handle in the
> apr_proc_mutex_t to get/set.

Hmm.. Should I #ifdef them out for now?

> I guess I should actually implement them, so are they supposed to be like
> APR_LOCKALL or APR_CROSS_PROCESS locks?

APR_CROSS_PROCESS == apr_proc_mutex_t

We don't have an analog for APR_LOCKALL, and it is still undecided if
we need/want one.

-aaron


Mime
View raw message