Eelco Dolstra d744362e4a hydra-queue-runner: Fix segfault sorting machines by load
While sorting machines by load, the load of a machine
(machine->currentJobs) can be changed by other threads. If that
happens, the comparator is no longer a proper ordering, in which case
std::sort() can segfault. So we now make a copy of currentJobs before
sorting.
2015-06-21 16:21:42 +02:00
..
2015-06-19 15:06:12 +02:00
2015-06-17 17:11:42 +02:00
2015-06-17 21:39:28 +02:00
2013-03-04 12:16:13 +01:00
2014-08-13 18:53:29 +02:00