commit-hurd
[Top][All Lists]
Advanced

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

[SCM] POSIX threading library branch, master, updated. 581b822ea36002817


From: Samuel Thibault
Subject: [SCM] POSIX threading library branch, master, updated. 581b822ea36002817f4c22b9ea715b72a0647166
Date: Sat, 21 Apr 2012 23:21:45 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "POSIX threading library".

The branch, master has been updated
       via  581b822ea36002817f4c22b9ea715b72a0647166 (commit)
       via  69e89a859882e4f675dd5491edc969159d8a4002 (commit)
       via  dbaf5693972d2cbfad0ad48b966e5693b770127e (commit)
      from  c310aa40efd3b2d954354e0550b1bbb6a8e7e349 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 581b822ea36002817f4c22b9ea715b72a0647166
Author: Pino Toscano <address@hidden>
Date:   Sun Apr 22 00:44:24 2012 +0200

    pthread_condattr_setclock: allow a monotonic clock, if present
    
    If CLOCK_MONOTONIC is requested, check (only once) for the
    availability of a monotonic clock using `clock_getres'.  If it is not,
    reject CLOCK_MONOTONIC with EINVAL (as before).
    
    * sysdeps/generic/pt-condattr-setclock.c (pthread_condattr_setclock):
    Check for monotonic clock if requested.

commit 69e89a859882e4f675dd5491edc969159d8a4002
Author: Pino Toscano <address@hidden>
Date:   Sun Apr 22 00:38:26 2012 +0200

    __pthread_timedblock: switch to clock_gettime
    
    Use `clock_gettime' with the provided clock instead of `gettimeofday',
    linking to rt.
    
    * sysdeps/mach/pt-timedblock.c (__pthread_timedblock): Switch to
    `clock_gettime'.
    * Makefile [!IN_GLIBC] (LDLIBS): Link to rt.
    [IN_GLIBC] ($(objpfx)libpthread.so): Likewise.
    * Makefile.am (libpthread_a_LDADD): Likewise.

commit dbaf5693972d2cbfad0ad48b966e5693b770127e
Author: Pino Toscano <address@hidden>
Date:   Sun Apr 22 00:22:47 2012 +0200

    __pthread_timedblock: add an argument for the clock id
    
    To make `__pthread_timedblock' properly measure time using the right
    clock, add a new argument representing the clock to use.
    
    * pthread/pt-internal.h (__pthread_timedblock): New argument CLOCK_ID.
    * sysdeps/l4/pt-timedblock.c (__pthread_timedblock): Likewise.
    * sysdeps/mach/pt-timedblock.c (__pthread_timedblock): Likewise.
    * sysdeps/generic/pt-cond-timedwait.c
    (__pthread_cond_timedwait_internal): Pass the clock of the
    `pthread_cond' to `__pthread_timedblock'.
    * sysdeps/generic/pt-mutex-timedlock.c
    (__pthread_mutex_timedlock_internal): Pass CLOCK_REALTIME to
    `__pthread_timedblock'.
    * sysdeps/generic/pt-rwlock-timedrdlock.c
    (__pthread_rwlock_timedrdlock_internal): Likewise.
    * sysdeps/generic/pt-rwlock-timedwrlock.c
    (__pthread_rwlock_timedwrlock_internal): Likewise.
    * sysdeps/generic/sem-timedwait.c (__sem_timedwait_internal):
    Likewise.

-----------------------------------------------------------------------

Summary of changes:
 Makefile                                |    2 ++
 Makefile.am                             |    2 ++
 pthread/pt-internal.h                   |    3 ++-
 sysdeps/generic/pt-cond-timedwait.c     |    5 ++++-
 sysdeps/generic/pt-condattr-setclock.c  |   27 +++++++++++++++++++++++----
 sysdeps/generic/pt-mutex-timedlock.c    |    2 +-
 sysdeps/generic/pt-rwlock-timedrdlock.c |    2 +-
 sysdeps/generic/pt-rwlock-timedwrlock.c |    2 +-
 sysdeps/generic/sem-timedwait.c         |    2 +-
 sysdeps/l4/pt-timedblock.c              |    3 ++-
 sysdeps/mach/pt-timedblock.c            |   16 ++++++++--------
 11 files changed, 47 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
POSIX threading library



reply via email to

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