On Mon, Feb 18, 2002 at 01:16:04AM -0000, [EMAIL PROTECTED] wrote: > aaron 02/02/17 17:16:04 > > Modified: test Makefile.in > locks/beos Makefile.in > locks/os2 Makefile.in > locks/unix Makefile.in > Added: include apr_global_mutex.h > include/arch/unix global_mutex.h > test testglobalmutex.c > locks/beos global_mutex.c > locks/netware global_mutex.c > locks/os2 global_mutex.c > locks/unix global_mutex.c > locks/win32 global_mutex.c > Log: > Add a new lock API: apr_global_mutex_t > This is analog to the APR_LOCKALL method of apr_lock_t, and provides > cross-process AND cross-thread mutual exclusion. > > I have provided a simple test (based on testprocmutex.c) and stubs > for non-Unix platforms.
The implementation of this on Unix is fairly simple (much more so thant I thought it would be :), and I suspect it may be even easier on other platforms. Please review and test this on your platform. -aaron