[PATCH] libpthread: use monotonic clock if present

2012-04-21 Thread Pino Toscano
Hi, attached there are few commits for libpthread which allow to use monotonic clock, if present, for pthread conditions. Currently they should have no effect, since there's no monotonic clock, yet, but will allow to automatically use it once available, detecting it at runtime. The only bit

Re: [PATCH] libpthread: use monotonic clock if present

2012-04-21 Thread Samuel Thibault
Applied, thanks! Samuel

Re: [PATCH] libpthread: use monotonic clock if present

2012-04-21 Thread Samuel Thibault
Pino Toscano, le Sun 22 Apr 2012 00:58:29 +0200, a écrit : The only bit I'm not too sure is the linking to rt in case libpthread is compiled a glibc addon (as result of the changes by Samuel an hour ago). Oops, actually there is a problem: librt already links against libpthread.so, so we have

Re: [PATCH] libpthread: use monotonic clock if present

2012-04-21 Thread Samuel Thibault
Samuel Thibault, le Sun 22 Apr 2012 03:17:56 +0200, a écrit : Pino Toscano, le Sun 22 Apr 2012 00:58:29 +0200, a écrit : The only bit I'm not too sure is the linking to rt in case libpthread is compiled a glibc addon (as result of the changes by Samuel an hour ago). Oops, actually there