libthread_xu - Wakeup all waiters
commitde7ba607e4500e7df6ade3916977cc8a91e1b4e9
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Oct 2017 07:13:42 +0000 (15 00:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Oct 2017 07:13:42 +0000 (15 00:13 -0700)
tree9e231fd16df16e4144f525098694095a14c9e76e
parenta1ef236873d393176b349ea05f21e78bf11c78b6
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.
lib/libthread_xu/thread/thr_umtx.c