1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Thread report for parallel builds.

This commit is contained in:
Cedric Beust 2016-08-05 20:31:48 -08:00
parent 2b4fcb4cec
commit 89d2239209
6 changed files with 127 additions and 8 deletions

View file

@ -27,7 +27,7 @@ class DynamicGraphTest {
class Worker<T>(val runNodes: ArrayList<T>, val n: T, val errorFunction: (T) -> Boolean) : IWorker<T> {
override val priority = 0
override val name: String get() = "[Worker " + runNodes.map { it.toString() }.joinToString(",") + "]"
override fun call() : TaskResult2<T> {
log(2, "Running node $n")
runNodes.add(n)