Some baseline thoughts

Stephan Bergmann sbergman at redhat.com
Fri Jun 2 07:33:44 UTC 2017


On 03/16/2017 12:20 PM, Stephan Bergmann wrote:
> *  macOS 10.8 
> (<https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/4.4&oldid=99539#Mac_OS_X>) 
> 
> 
> Bumping this to macOS 10.9 would get rid of the last known case of 
> !HAVE_THREADSAFE_STATICS (cf. 
> <https://cgit.freedesktop.org/libreoffice/core/commit/?id=aa2fbfc4faa24cf7ee5aa9afdafddbd536ac4fec> 
> "Found out that Mac OS X 10.9 has working threadsafe statics").  What is 
> unknown however is the status on Android and iOS.  Having 
> HAVE_THREADSAFE_STATICS everywhere would allow to clean up code, see 
> e.g. <https://gerrit.libreoffice.org/#/c/35258/> "replace 
> double-checked-locking with C++11 static initializer".

So

* macOS baseline is bumped 
(<https://cgit.freedesktop.org/libreoffice/core/commit/?id=7dcee9790c18a594236dc32a534c20f1e7447ee6> 
"bumb MacOS baseline to 10.9")

* and all toolchains are now considered to have thread-safe statics 
(<https://cgit.freedesktop.org/libreoffice/core/commit/?id=6517fd2107a5a71290afad8850da0eab51519bc6> 
"HAVE_THREADSAFE_STATICS sould always be true")

(and writing typo-free commit messages is hard).


More information about the LibreOffice mailing list