Re: [PUSHED] Use clock_gettime instead of gettimeofday to have more preci...

2013-05-15 Thread Stephan Bergmann
On 05/13/2013 06:59 PM, Norbert Thiebaud (via Code Review) wrote: Thank you for your patch! It has been merged to LibreOffice. If you are interested in details, please visit https://gerrit.libreoffice.org/3841 Just saw the hotspot-...@openjdk.java.net thread Mac OS X System.nanoTime

Re: [PUSHED] Use clock_gettime instead of gettimeofday to have more preci...

2013-05-15 Thread Norbert Thiebaud
On Wed, May 15, 2013 at 3:07 AM, Stephan Bergmann sberg...@redhat.com wrote: On 05/13/2013 06:59 PM, Norbert Thiebaud (via Code Review) wrote: Thank you for your patch! It has been merged to LibreOffice. If you are interested in details, please visit

Re: [PUSHED] Use clock_gettime instead of gettimeofday to have more preci...

2013-05-15 Thread Stephan Bergmann
On 05/15/2013 11:40 AM, Norbert Thiebaud wrote: I'm concerned about static variable in ure... and how to properly and racelessly initialize it... There's three options, at least for a POD variable that doesn't incur an atexit destructor: * In environments where HAVE_THREADSAFE_STATICS