[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7969) LMDB: Globally shared fields of meta-data are not 'volatile'.
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7969) LMDB: Globally shared fields of meta-data are not 'volatile'.
- From: leo@yuriev.ru
- Date: Tue, 13 Jan 2015 09:44:46 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
2014-11-16 0:04 GMT+03:00 Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>:
> __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.