Ludovic Courtès 8902d0f267
scripts: Set thread names.
This allows 'guix publish' threads as well as 'guix substitute' and
'guix offload' processes to be properly labeled in 'top', 'pstree', etc.

* guix/workers.scm (worker-thunk): Add #:thread-name parameter and honor it.
(make-pool): Likewise.
* guix/scripts/publish.scm (http-write): Add calls to 'set-thread-name'
in bodies of 'call-with-new-thread'.
(guix-publish): Call 'set-thread-name'.   Pass #:thread-name to 'make-pool'.
* guix/scripts/offload.scm (guix-offload): Call 'set-thread-name'.
* guix/scripts/substitute.scm (guix-substitute): Likewise.
2017-05-28 23:13:39 +02:00
..
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-04 12:52:23 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-28 23:13:39 +02:00
2017-05-03 16:16:17 +02:00
2017-05-28 23:13:39 +02:00
2017-05-09 18:08:24 +02:00
2017-05-03 23:50:15 +02:00
2017-05-03 16:16:17 +02:00
2017-05-28 23:13:39 +02:00
2017-05-22 18:25:01 +02:00