You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Aaron Bannert <aa...@clove.org> on 2002/02/18 02:19:56 UTC
Re: cvs commit: apr/locks/win32 global_mutex.c
On Mon, Feb 18, 2002 at 01:16:04AM -0000, aaron@apache.org 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