bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] libpthread: use monotonic clock if present


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

Attachment: 0001-__pthread_timedblock-add-an-argument-for-the-clock-i.patch
Description: Text Data

Attachment: 0003-pthread_condattr_setclock-allow-a-monotonic-clock-if.patch
Description: Text Data

Attachment: 0002-__pthread_timedblock-switch-to-clock_gettime.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]