Races in ARM atomicity.h functions?
Alon Ziv
alonz@emblazesemi.com
Wed May 19 12:31:00 GMT 2004
Hi all,
I had a look at the atomicity functions for ARM (sysdeps/arm/atomicity.h), and
all of them look to have subtle races in a multi-threaded environment.
At least the most widely used of those (compare_and_swap) seems to be fixable,
but I'd like to be certain I understand these functions' usage before I touch
them...
Can anyone enlighten me?
Alon Ziv <alonz@emblazesemi.com>
SW Team Leader / Project Manager
Emblaze Semiconductor Ltd. <http://www.emblazesemi.com/>
Phone: +972 9 7699527
Fax: +972 9 7699556
More information about the Libc-alpha
mailing list