apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: cvs commit: apr/atomic/os390 atomic.c
Date Fri, 22 Mar 2002 18:33:38 GMT
gregames@apache.org wrote:

>   -apr_atomic_t apr_atomic_add(apr_atomic_t *mem, apr_uint32_t val)
>   +apr_int32_t apr_atomic_add(apr_atomic_t *mem, apr_int32_t val)

Ian,

Should we change the 2nd input param to apr_int32_t everywhere?  This occured to
me when I used -1 there to implement apr_atomic_dec.  And the return value for
apr_atomic_dec?  Letting it go negative could be useful in some apps.

Greg

Mime
View raw message