git: sort - Don't live-loop threads

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 22 15:37:21 PST 2017


commit 07774aea0ccf64a48fcfad8899e3bf7c8f18277a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 22 15:35:37 2017 -0800

    sort - Don't live-loop threads
    
    * Worker threads now use a pthread_cond_t to wait for work instead of
      burning the cpu up.

Summary of changes:
 usr.bin/sort/radixsort.c | 56 +++++++++++++++++++++++++++---------------------
 1 file changed, 31 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/07774aea0ccf64a48fcfad8899e3bf7c8f18277a


-- 
DragonFly BSD source repository


More information about the Commits mailing list