summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorPaul R. Eggert <eggert@cs.ucla.edu>2010-07-25 20:54:55 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-07-25 20:55:21 -0700
commitde949fc12dffef87e381a821c18887e4efdd1b00 (patch)
tree276f3cda75e30cb03baddb311434d486a0c16684 /gl
parent1563ffd2b1e63c48b5c7a04f8b60556ee56c7154 (diff)
downloadcoreutils-de949fc12dffef87e381a821c18887e4efdd1b00.tar.xz
sort: omit unnecessary mutex unlock+lock; simplify heap access
* src/sort.c (queue_pop): Omit unnecessary unlock+lock after pthread_cond_wait returns. Don't access "count" member of the heap; any efficiency gains should be quite minor, the access complicates this code, and "count" should be private anyway.
Diffstat (limited to 'gl')
0 files changed, 0 insertions, 0 deletions