|
From: | Pino Toscano |
Subject: | [PATCH] libpthread: use monotonic clock if present |
Date: | Sun, 22 Apr 2012 00:58:29 +0200 |
User-agent: | KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; ) |
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 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). -- Pino Toscano
0001-__pthread_timedblock-add-an-argument-for-the-clock-i.patch
Description: Text Data
0003-pthread_condattr_setclock-allow-a-monotonic-clock-if.patch
Description: Text Data
0002-__pthread_timedblock-switch-to-clock_gettime.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] | Current Thread | [Next in Thread] |