This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Races in ARM atomicity.h functions?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]