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. b4547d9244cb9221b


From: Samuel Thibault
Subject: [SCM] POSIX threading library branch, master, updated. b4547d9244cb9221bcaaa8f583c566bab5638784
Date: Sun, 23 Aug 2009 17:57:52 +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  b4547d9244cb9221bcaaa8f583c566bab5638784 (commit)
       via  4776fb251ce840be1099ffc481116d8a3ee8916a (commit)
       via  573e2e6130fd6a2dcba09029a97000668c27c6e9 (commit)
      from  62d9be6cc6d07582e83c23d26cac37438e6f4b5b (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 b4547d9244cb9221bcaaa8f583c566bab5638784
Author: Samuel Thibault <address@hidden>
Date:   Sun Aug 23 19:47:05 2009 +0200

    Fix pthread_setcancelstate/type crash
    
    * pthread/pt-setcancelstate.c (pthread_setcancelstate): Check whether
    OLDSTATE is NULL before filling it.
    * pthread/pt-setcanceltype.c (pthread_setcanceltype): Likewise.

commit 4776fb251ce840be1099ffc481116d8a3ee8916a
Author: Samuel Thibault <address@hidden>
Date:   Sun Aug 23 19:38:06 2009 +0200

    Fix pthread_mutex_t static initializers
    
    Fix pthread_mutex_t static initializers by not leaving references to
    __pthread_recursive_mutexattr.
    
    * include/pthread/pthread.h.orig (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): 
New
    macro.
    * sysdeps/generic/pt-mutex-destroy.c (_pthread_mutex_destroy): Compare
    mutex->attr with __PTHREAD_ERRORCHECK_MUTEXATTR and
    __PTHREAD_RECURSIVE_MUTEXATTR instead of __pthread_recursive_mutexattr.
    * sysdeps/generic/pt-mutex-init.c (_pthread_mutex_init): Likewise.
    * sysdeps/generic/pt-mutex-timedlock.c (__pthread_mutex_timedlock_internal):
    Likewise.
    * sysdeps/generic/pt-mutex-transfer-np.c (__pthread_mutex_transfer_np):
    Likewise.
    * sysdeps/generic/pt-mutex-trylock.c (__pthread_mutex_trylock): Likewise.
    * sysdeps/generic/pt-mutex-unlock.c (__pthread_mutex_unlock): Likewise.
    * sysdeps/generic/pt-mutexattr.c (__pthread_errorcheck_mutexattr): New 
const.
    * sysdeps/generic/bits/mutex-attr.h (__pthread_errorcheck_mutexattr): 
Declare
    const.
    * sysdeps/generic/bits/mutex.h (__PTHREAD_ERRORCHECK_MUTEXATTR,
    __PTHREAD_ERRORCHECK_MUTEX_INITIALIZER, __PTHREAD_RECURSIVE_MUTEXATTR): New
    macros.
    (__PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Use __PTHREAD_RECURSIVE_MUTEXATTR 
macro
    instead of &__pthread_recursive_mutexattr.

commit 573e2e6130fd6a2dcba09029a97000668c27c6e9
Author: Samuel Thibault <address@hidden>
Date:   Sun Aug 23 19:28:22 2009 +0200

    Fix assertion failure in pthread_mutex_trylock
    
    * sysdeps/generic/pt-mutex-trylock.c [!ALWAYS_TRACK_MUTEX_OWNER]
    (__pthread_mutex_trylock): Disable owner tracking.

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

Summary of changes:
 include/pthread/pthread.h              |    2 ++
 pthread/pt-setcancelstate.c            |    3 ++-
 pthread/pt-setcanceltype.c             |    3 ++-
 sysdeps/generic/bits/mutex-attr.h      |    1 +
 sysdeps/generic/bits/mutex.h           |   10 +++++++++-
 sysdeps/generic/pt-mutex-destroy.c     |    3 ++-
 sysdeps/generic/pt-mutex-init.c        |   13 +++++--------
 sysdeps/generic/pt-mutex-timedlock.c   |   22 ++++++++++++++--------
 sysdeps/generic/pt-mutex-transfer-np.c |   11 +++++++++--
 sysdeps/generic/pt-mutex-trylock.c     |   16 ++++++++++++----
 sysdeps/generic/pt-mutex-unlock.c      |   16 +++++++++++-----
 sysdeps/generic/pt-mutexattr.c         |    8 ++++++++
 12 files changed, 77 insertions(+), 31 deletions(-)


hooks/post-receive
-- 
POSIX threading library




reply via email to

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