about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-09T13·07+0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-09T13·41+0200
commitfda7b95cb08c447a7ee4ec18ea3574d76e6264df (patch)
treee83f41f651ab2ed32fd5adb3110d326e8a1d5766 /scripts
parent838509d1a085b8f7dc5474e13cfce3fbe3c47166 (diff)
Fix a hang in ThreadPool
The worker threads could exit prematurely if they finished processing
all items while the main thread was still adding items. In particular,
this caused hanging nix-store --serve processes in the build farm.

Also, process items from the main thread.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions