apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/locks/unix thread_mutex.c
Date Fri, 08 Aug 2003 09:08:50 GMT
wrowe@apache.org wrote:

> wrowe       2003/08/07 15:16:24
> 
>   Modified:    include/arch/unix apr_arch_thread_mutex.h
>                locks/unix thread_mutex.c
>   Log:
>     Revamp apr_thread_mutex to be as thread safe, and occasionally
>     as reentrant as possible.  Switched to atomics to preserve the
>     incr/decr integrity.

on RH 9 and bundled gcc:

 > thread_mutex.c: In function `apr_thread_mutex_lock':
 > thread_mutex.c:117: warning: passing arg 1 of `apr_atomic_inc' makes 
pointer from integer without a cast
 > thread_mutex.c: In function `apr_thread_mutex_trylock':
 > thread_mutex.c:165: warning: passing arg 1 of `apr_atomic_inc' makes 
pointer from integer without a cast
 > thread_mutex.c: In function `apr_thread_mutex_unlock':
 > thread_mutex.c:218: warning: passing arg 1 of `apr_atomic_dec' makes 
pointer from integer without a cast



Mime
View raw message