[PATCH] Multi threaded version of osl_getGlobalTime on Unix

Francois Tigeot ftigeot at wolfpond.org
Sun May 19 04:50:28 PDT 2013


On Sun, May 19, 2013 at 11:25:36AM +0000, Arnaud Versini (via Code Review) wrote:
> 
>     https://gerrit.libreoffice.org/3960
> 
> +#if defined(LINUX)
[...]
> +    res = clock_gettime(CLOCK_PROCESS_CPUTIME_ID , NULL);

Why is this hardcoded on LINUX ?

At least FreeBSD also has CLOCK_PROCESS_CPUTIME_ID if I'm not mistaken.

-- 
Francois Tigeot


More information about the LibreOffice mailing list