tMore thread names. - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 391363f510a13378b3f3515e763b9c754a242fe0
 (DIR) parent 5b0927915fe3308a3bcb501c871ccf97747162ef
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 26 Sep 2005 11:46:21 +0000
       
       More thread names.
       
       Diffstat:
         M src/cmd/acme/acme.c                 |       1 +
         M src/cmd/acme/exec.c                 |       2 ++
         M src/cmd/acme/fsys.c                 |       2 ++
       
       3 files changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c
       t@@ -341,6 +341,7 @@ shutdownthread(void *v)
        
                USED(v);
        
       +        threadsetname("shutdown");
                c = threadnotechan();
                while((msg = recvp(c)) != nil)
                        shutdown(nil, msg);
 (DIR) diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c
       t@@ -1323,6 +1323,8 @@ runproc(void *argvp)
                void **argv;
                CFsys *fs;
        
       +        threadsetname("runproc");
       +
                argv = argvp;
                win = argv[0];
                s = argv[1];
 (DIR) diff --git a/src/cmd/acme/fsys.c b/src/cmd/acme/fsys.c
       t@@ -139,6 +139,8 @@ fsysproc(void *v)
                Fcall t;
                uchar *buf;
        
       +        threadsetname("fsysproc");
       +
                USED(v);
                x = nil;
                for(;;){