[EMAIL PROTECTED] 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





Reply via email to