guix-play/guix/scripts
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
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
archive.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
challenge.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
download.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm environment: Correct typo. 2017-05-04 12:52:23 +02:00
gc.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
graph.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
hash.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
lint.scm guix: lint: Slightly simplify `check-source-file-name'. 2017-05-23 04:35:06 +05:30
offload.scm scripts: Set thread names. 2017-05-28 23:13:39 +02:00
pack.scm pack: Use 'guile2.0-json' when building with Guile 2.0. 2017-05-20 14:39:50 +02:00
package.scm guix package: Swallow EPIPE upon 'guix package --list-generations'. 2017-05-23 23:57:28 +02:00
perform-download.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
publish.scm scripts: Set thread names. 2017-05-28 23:13:39 +02:00
pull.scm pull: Use 'with-store'. 2017-05-09 18:08:24 +02:00
refresh.scm refresh: Use (guix discovery). 2017-05-03 23:50:15 +02:00
size.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
substitute.scm scripts: Set thread names. 2017-05-28 23:13:39 +02:00
system.scm Merge branch 'version-0.13.0' 2017-05-22 18:25:01 +02:00