More thread names.
This commit is contained in:
parent
5b0927915f
commit
391363f510
3 changed files with 5 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ shutdownthread(void *v)
|
||||||
|
|
||||||
USED(v);
|
USED(v);
|
||||||
|
|
||||||
|
threadsetname("shutdown");
|
||||||
c = threadnotechan();
|
c = threadnotechan();
|
||||||
while((msg = recvp(c)) != nil)
|
while((msg = recvp(c)) != nil)
|
||||||
shutdown(nil, msg);
|
shutdown(nil, msg);
|
||||||
|
|
|
||||||
|
|
@ -1323,6 +1323,8 @@ runproc(void *argvp)
|
||||||
void **argv;
|
void **argv;
|
||||||
CFsys *fs;
|
CFsys *fs;
|
||||||
|
|
||||||
|
threadsetname("runproc");
|
||||||
|
|
||||||
argv = argvp;
|
argv = argvp;
|
||||||
win = argv[0];
|
win = argv[0];
|
||||||
s = argv[1];
|
s = argv[1];
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,8 @@ fsysproc(void *v)
|
||||||
Fcall t;
|
Fcall t;
|
||||||
uchar *buf;
|
uchar *buf;
|
||||||
|
|
||||||
|
threadsetname("fsysproc");
|
||||||
|
|
||||||
USED(v);
|
USED(v);
|
||||||
x = nil;
|
x = nil;
|
||||||
for(;;){
|
for(;;){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue