This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

Re: libstdc++/5037: Multithreaded read access to strings not threadsafe on Solaris/Sparc


On Thu, Dec 06, 2001 at 09:08:47PM -0000, ljrittle@gcc.gnu.org wrote:
> Can you verify that
> config/cpu/sparc/sparc32/bits/atomicity.h is being used

I believe this file is broken.  __exchange_and_add and __atomic_add
use separate locks, and so are not protected from each other.

Alan


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