diff options
author | rsc <devnull@localhost> | 2005-03-24 05:45:01 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-03-24 05:45:01 +0000 |
commit | 78b5635d698a1d278fade51856e51520046261fc (patch) | |
tree | 8f7a444313c02c0834f2069bc24cfe155b74139b /src/cmd/netfiles/main.c | |
parent | 3ae1a866feb2dcaa31877ddb924687eea6c58ec4 (diff) | |
download | plan9port-78b5635d698a1d278fade51856e51520046261fc.tar.gz plan9port-78b5635d698a1d278fade51856e51520046261fc.tar.bz2 plan9port-78b5635d698a1d278fade51856e51520046261fc.zip |
More debugging; do not use /dev/tty explicitly.
Diffstat (limited to 'src/cmd/netfiles/main.c')
-rw-r--r-- | src/cmd/netfiles/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/netfiles/main.c b/src/cmd/netfiles/main.c index d7ee27a8..9bd9672b 100644 --- a/src/cmd/netfiles/main.c +++ b/src/cmd/netfiles/main.c @@ -231,6 +231,7 @@ plumbthread(void *v) CFid *fid; Plumbmsg *m; + threadsetname("plumbthread"); fid = plumbopenfid("netfileedit", OREAD); if(fid == nil){ fprint(2, "cannot open plumb/netfileedit: %r\n"); @@ -521,6 +522,7 @@ loopthread(void *v) { QLock lk; + threadsetname("loopthread"); qlock(&lk); qlock(&lk); } @@ -542,6 +544,8 @@ threadmain(int argc, char **argv) if(argc) usage(); + cprint("netfiles starting\n"); + threadnotify(nil, 0); /* set up correct default handlers */ fmtinstall('E', eventfmt); |