You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2007/07/04 03:11:44 UTC
DO NOT REPLY [Bug 42806] New: - apr_atomic problems
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=42806>.
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=42806
Summary: apr_atomic problems
Product: APR
Version: HEAD
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: davi@apache.org
Following some discussions [1] on the list regarding the apr_atomic
implementation, this patchset tries to address some of the problems
by reorganizing the various backends.
Almost all points raised in [1] are addressed, in special, the unsafe
mixing of mutex and asm (direct) backed atomics. For example, the
apr_atomic_casptr function which was only mutex backed and is used
by the worker and event mpms in httpd.
The patchs still needs more wide testing, but any comments or feedback
would be greatly appreciated.
1. http://mail-archives.apache.org/mod_mbox/apr-
dev/200610.mbox/%3C20061020153547.GA21975@p15097255.pureserver.info%3E
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:26 -------
Created an attachment (id=20466)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20466&action=view)
apr_atomic_xchgptr implementation
As requested by Curt Arnold, for the log4cxx project, implement
apr_atomic_xchgptr
that atomically exchanges a pair of pointer values.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
davi@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20466|0 |1
is obsolete| |
------- Additional Comments From davi@apache.org 2007-07-05 14:22 -------
Created an attachment (id=20468)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20468&action=view)
apr_atomic_xchgptr implementation (+ppc)
I forgot to refresh the patch. Only the OS/390 stub is intentionally missing.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
davi@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER
------- Additional Comments From davi@apache.org 2007-07-06 09:00 -------
As pointed to me by Paul Querna, an ABI break between 1.2.x and 1.3.x
is not permitted and since I can't guarantee that it won't break the ABI
for th various supported compilers, I'll only move forward the barrier
related patches. Volatile removal is left for later (2.+).
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:20 -------
Created an attachment (id=20462)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20462&action=view)
win32 implementation volatile qualifier removal
Remove volatile qualifiers. The WIN32 Interlocked* functions by default
provide full memory barrier semantics.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 18:24 -------
Created an attachment (id=20439)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20439&action=view)
ia32 atomics
ia32 (x86 and x86_64) atomic operations, plus apr_atomic_casptr
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 18:25 -------
Created an attachment (id=20440)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20440&action=view)
solaris atomic operations
Tested on a Solaris 10 zone, i386.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-04 11:29 -------
Patches committed to trunk, revisions: 553289, 553290, 553291, 553292 and 553293.
http://svn.apache.org/viewvc?view=rev&revision=553289
http://svn.apache.org/viewvc?view=rev&revision=553290
http://svn.apache.org/viewvc?view=rev&revision=553291
http://svn.apache.org/viewvc?view=rev&revision=553292
http://svn.apache.org/viewvc?view=rev&revision=553293
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:20 -------
Created an attachment (id=20461)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20461&action=view)
solaris implementation volatile qualifier removal
Remove volatile qualifiers and issue memory barriers where appropriate to
prevent reordering. The solaris atomic man page says:
"The membar_consumer() function arranges for all loads issued before this point
in the code to be completed before any subsequent loads."
and
"The membar_producer() function arranges for all stores issued before this
point
in the code to reach global visibility before any stores that follow."
TODO: the other function may still need explicit memory barriers.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:14 -------
Created an attachment (id=20457)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20457&action=view)
mutex implementation volatile qualifier removal
Remove the volatile qualifiers for the mutex backed implementation of
apr_atomic. The mutex primitives act as memory barriers, synchronizing
memory access with respect to other threads. The removal of the volatile
qualifiers also speeds up, a little bit, non-threaded builds of APR.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:22 -------
Created an attachment (id=20463)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20463&action=view)
netware implementation volatile qualifier removal
Remove volatile qualifiers, and regarding to memory barriers, the Novell
developer kit documentation "NDK: Libraries for C (LibC), Volume 2; Section I,
General C Services; Atomic Functions", says:
"An atomic function is guaranteed to complete its memory operation before any
other processor or bus agent can access the same memory."
So I presume that the atomic functions issues memory barriers.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 18:17 -------
Created an attachment (id=20437)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20437&action=view)
generic mutex backed implementation of apr_atomic operations
The generic implementation is used when no specialized implementation
fits the defined criterias, or when the user forces the choice.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:23 -------
Created an attachment (id=20464)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20464&action=view)
os390 implementation volatile qualifier removal
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:24 -------
Created an attachment (id=20465)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20465&action=view)
remove volatile usage on the atomic test code
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From jorton@redhat.com 2007-07-06 00:17 -------
This stuff should really be on dev@apr now.
Is removing the volatile qualifier a backwards-compat break? (see
http://apr.apache.org/versioning.html)
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:15 -------
Created an attachment (id=20458)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20458&action=view)
builtins implementation volatile qualifier removal
Remove the volatile qualifiers for the atomic builtins backed implementation
of apr_atomic. These builtins, except __sync_lock_test_and_set, are considered
a full barrier. Also use a full memory barrier on the read32/set32 functions
to force strong memory ordering.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:13 -------
Created an attachment (id=20456)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20456&action=view)
remove volatile from apr_atomic_* prototypes
This patch get rid of the "volatile" qualifier in the apr_atomic functions
prototypes. As APR claims to provide proper memory barriers, the "volatile"
qualifier is unnecessary, since the use of memory barriers already implies
ordering constraints on memory operations.
Also a bogus const qualifier for the third argument of apr_atomic_casptr is
removed.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-06 07:58 -------
(In reply to comment #20)
> This stuff should really be on dev@apr now.
Just finishing a few things up before posting (z/Architecture).
> Is removing the volatile qualifier a backwards-compat break? (see
> http://apr.apache.org/versioning.html)
No. It's a ABI break, the patches are intended only for trunk (1.3.0+).
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:16 -------
Created an attachment (id=20459)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20459&action=view)
ia32 implementation volatile qualifier removal
Remove volatile qualifiers and issue memory barriers where appropriate to
prevent reordering.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 20:10 -------
Just a quick note that I'll address the issues with volatile, memory barriers
and such, once the initial patches have been committed.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-05 12:17 -------
Created an attachment (id=20460)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20460&action=view)
ppc implementation volatile qualifier removal
Remove volatile qualifiers and issue memory barriers where appropriate to
prevent reordering.
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 18:23 -------
Created an attachment (id=20438)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20438&action=view)
compiler provided atomic builtins
Given a modern compiler, this patch provides fast atomic operations on various
platforms (alpha, ia32, ia64, powerpc, etc).
Tested on:
2x Pentium D, Ubuntu 7.04, gcc 4.1.2
16x Itanium II, RHEL 5, gcc 4.1.1
--
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
DO NOT REPLY [Bug 42806] - apr_atomic problems
Posted by bu...@apache.org.
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=42806>.
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=42806
------- Additional Comments From davi@apache.org 2007-07-03 18:26 -------
Created an attachment (id=20441)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20441&action=view)
powerpc atomic operations
Tested on a PowerPC G4 (macbook).
--
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