apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42992] - test case for apr_atomic_casptr uses incompatible pointer type
Date Sun, 29 Jul 2007 06:58:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42992>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42992


carenas@sajinet.com.pe changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From carenas@sajinet.com.pe  2007-07-28 23:58 -------
my comment about a "dereference for void *" was obviously incorrect, what I
meant to refer to was the use of the "address of" operator for casptr as the
first parameter of apr_atomic_casptr as shown by the following excerpt from
testatomic.c's check_basic_atomics.

  void *casptr;
  casptr = NULL;
  oldptr = apr_atomic_casptr(&casptr, &object1, 0);

the definition (from include/apr_atomic.h) for apr_atomic_casptr says :

  void *apr_atomic_casptr(volatile void **mem, void *with, const void *cmp);

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message