about summary refs log tree commit diff
path: root/src/libutil/pool.hh
AgeCommit message (Collapse)AuthorFilesLines
2016-02-24 std::condition_variable_any -> std::condition_variableEelco Dolstra1-1/+1
The latter is supposed to be more efficient.
2016-02-24 C++ templates are just a glorified macro facilityEelco Dolstra1-2/+2
2016-02-24 Remove bad daemon connections from the poolEelco Dolstra1-4/+14
This is necessary for long-running processes like hydra-queue-runner: if a nix-daemon worker is killed, we need to stop reusing that connection.
2016-02-23 Pool<T>: Allow a maximum pool sizeEelco Dolstra1-15/+54
2016-02-23 RemoteStore: Make thread-safeEelco Dolstra1-0/+102
This allows a RemoteStore object to be used safely from multiple threads concurrently. It will make multiple daemon connections if necessary. Note: pool.hh and sync.hh have been copied from the Hydra source tree.