diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c index 408bd25b..913fadc3 100644 --- a/src/cmd/acme/acme.c +++ b/src/cmd/acme/acme.c @@ -341,6 +341,7 @@ shutdownthread(void *v) USED(v); + threadsetname("shutdown"); c = threadnotechan(); while((msg = recvp(c)) != nil) shutdown(nil, msg); diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c index cbc13c61..dfb0cbe4 100644 --- a/src/cmd/acme/exec.c +++ b/src/cmd/acme/exec.c @@ -1323,6 +1323,8 @@ runproc(void *argvp) void **argv; CFsys *fs; + threadsetname("runproc"); + argv = argvp; win = argv[0]; s = argv[1]; diff --git a/src/cmd/acme/fsys.c b/src/cmd/acme/fsys.c index 8393424f..033ce20d 100644 --- a/src/cmd/acme/fsys.c +++ b/src/cmd/acme/fsys.c @@ -139,6 +139,8 @@ fsysproc(void *v) Fcall t; uchar *buf; + threadsetname("fsysproc"); + USED(v); x = nil; for(;;){