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 global_mutex.c
Date Mon, 18 Feb 2002 01:19:56 GMT
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

Mime
View raw message