apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] Allow pthread_mutex_t to be a cross-process lock
Date Sat, 30 Jun 2001 20:57:19 GMT
On Sat, Jun 30, 2001 at 01:16:43PM -0700, rbb@covalent.net wrote:
> In general, most platforms don't really support cross process pthread
> mutex's.  Even those that have PTHREAD_PROCESS_SHARED tend to not work
> properly.  For example, AIX has that defined, but they don't really
> support pthread mutex's cross processes.

Is this something that we can place in either the hints file (for those
platforms that are lying to us), or can we perform some AC_TRY_RUN test 
to see whether it works.  I believe that pthread_mutex_t is going to be 
the best cross-process locking choice IF the platform does what it says 
it does (which, I believe Solaris does).  -- justin


Mime
View raw message