git: libthread_xu - Wakeup all waiters

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


commit de7ba607e4500e7df6ade3916977cc8a91e1b4e9
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/de7ba607e4500e7df6ade3916977cc8a91e1b4e9


-- 
DragonFly BSD source repository



More information about the Commits mailing list