diff options
author | rsc <devnull@localhost> | 2005-09-26 11:46:21 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-26 11:46:21 +0000 |
commit | 391363f510a13378b3f3515e763b9c754a242fe0 (patch) | |
tree | 900f1fddec10d0b0e97e1533a1104898161a2946 /src/cmd | |
parent | 5b0927915fe3308a3bcb501c871ccf97747162ef (diff) | |
download | plan9port-391363f510a13378b3f3515e763b9c754a242fe0.tar.gz plan9port-391363f510a13378b3f3515e763b9c754a242fe0.tar.bz2 plan9port-391363f510a13378b3f3515e763b9c754a242fe0.zip |
More thread names.
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/acme/acme.c | 1 | ||||
-rw-r--r-- | src/cmd/acme/exec.c | 2 | ||||
-rw-r--r-- | src/cmd/acme/fsys.c | 2 |
3 files changed, 5 insertions, 0 deletions
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(;;){ |