2014-11-16 0:04 GMT+03:00 Hallvard Breien Furuseth <[email protected]>:
> __sync_synchronize() needs an #ifdef around it.
> #ifdef __GNUC__, or something more general?

I have implemented 'portable' memory barriers for a set of compilers.
https://github.com/ReOpen/ReOpenLDAP/commit/a1ec3a4a8290c84846b4e98ff3abf38839381866
Feedback welcomed.

Leonid.



Reply via email to