commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106-1-43-gcf5a1c2
Date: Tue, 06 Dec 2011 00:48:39 +0000

The following commit has been merged in the master branch:
commit ddeaad599c6b93634916e76fa2747ba521441e3f
Merge: 1fc5eaa14734a6bc3ed378eb09a7f61a875f2b19 
db7bf9590dc08a72de9a9c46db7937188156fa2e
Author: Samuel Thibault <address@hidden>
Date:   Tue Dec 6 01:42:34 2011 +0100

    Merge branch 'libpthread' into libpthread-moved

diff --combined libpthread/pthread/cthreads-compat.c
index e0536ef,cbe8170..cbe8170
--- a/libpthread/pthread/cthreads-compat.c
+++ b/libpthread/pthread/cthreads-compat.c
@@@ -100,5 -100,8 +100,8 @@@ __mutex_lock_solid (void *lock
  void
  __mutex_unlock_solid (void *lock)
  {
+   if (__pthread_spin_trylock (lock) != 0)
+     /* Somebody already got the lock, that one will manage waking up others */
+     return;
    __pthread_mutex_unlock (lock);
  }

-- 
Debian GNU Hurd packaging



reply via email to

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