git: DragonFly_RELEASE_5_0 libthread_xu - Wakeup all waiters

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 15 00:15:44 PDT 2017


commit 4e7c9dfbd0ad1f7bb5ec7c5f6eb6d6a1c44c404a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 15 00:13:42 2017 -0700

    libthread_xu - Wakeup all waiters
    
    * For now punt on trying to wakeup an optimized numbers of waiters.
      Wake up all waiters and let them sort it out.
    
    * This may fix specific count races in threaded programs using
      pthread mutexes.

Summary of changes:
 lib/libthread_xu/thread/thr_umtx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e7c9dfbd0ad1f7bb5ec7c5f6eb6d6a1c44c404a


-- 
DragonFly BSD source repository



More information about the Commits mailing list