casseopea2 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Fix PowerPC Linux atomic functions #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
atomicops-internals-linuxppc.h has a number of issues. Its missing all
memory barriers which will result in bugs with multithreaded programs.

The following patch adds the required memory barriers. It also adds 64bit
Atomic functions when building 64bit.

Original issue reported on code.google.com by anton.bl...@gmail.com on 7 Oct 2008 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the report.  These fixes will be in the next release.

I freely admit our PPC code is a work in progress, and we appreciate your help 
in
making it better.  If you have any other suggestions for improving the PPC 
code, let
us know!

Original comment by csilv...@gmail.com on 10 Oct 2008 at 11:29

GoogleCodeExporter commented 9 years ago
This patch is in perftools 1.0rc1

Original comment by csilv...@gmail.com on 13 Dec 2008 at 1:43