lix/src/libutil
Eelco Dolstra fda7b95cb0
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.
2017-10-09 15:41:09 +02:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc nix copy: Revive progress bar 2017-08-16 20:56:02 +02:00
archive.hh Revert fa125b9b28 2017-03-06 13:56:20 +01:00
args.cc nix run: Allow passing a command to execute 2017-08-29 14:42:48 +02:00
args.hh Doh 2017-09-25 13:25:55 +02:00
compression.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
compression.hh LocalFSStore::getBuildLog(): Handle corrupted logs 2017-03-21 19:23:35 +01:00
config.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
config.hh Don't show flags from config settings in "nix --help" 2017-06-07 18:41:20 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
hash.hh Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
istringstream_nocopy.hh Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
json.cc nix search: Add a cache 2017-07-26 17:29:10 +02:00
json.hh nix search: Add a cache 2017-07-26 17:29:10 +02:00
lazy.hh Figure out the user's home directory if $HOME is not set 2017-05-05 17:08:23 +02:00
local.mk Add support for brotli compression 2017-03-15 16:49:06 +01:00
logging.cc Give activities a verbosity level again 2017-08-28 19:13:24 +02:00
logging.hh Add an activity for binary cache queries 2017-08-31 15:25:58 +02:00
lru-cache.hh nix-daemon: Disable path info cache 2017-04-06 14:30:31 +02:00
monitor-fd.hh Fix interrupt handling 2017-01-26 20:40:33 +01:00
pool.hh RemoteStore: Add option to drop old connections from the pool 2017-09-14 18:10:38 +02:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc readString(): Read directly into std::string 2017-03-01 14:54:11 +01:00
serialise.hh Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
sync.hh Include missing <cstdlib> for abort() 2017-08-03 07:03:22 +10:00
thread-pool.cc Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
thread-pool.hh Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
types.hh Progress indicator: Show number of active items 2017-08-16 20:56:03 +02:00
util.cc ThreadPool: On exception, interrupt the other worker threads 2017-09-08 15:31:24 +02:00
util.hh ThreadPool: On exception, interrupt the other worker threads 2017-09-08 15:31:24 +02:00
xml-writer.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
xml-writer.hh And another one 2014-02-26 18:55:18 +01:00