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);
|
||||
|
||||
threadsetname("shutdown");
|
||||
c = threadnotechan();
|
||||
while((msg = recvp(c)) != nil)
|
||||
shutdown(nil, msg);
|
||||
|
|
|
|||
|
|
@ -1323,6 +1323,8 @@ runproc(void *argvp)
|
|||
void **argv;
|
||||
CFsys *fs;
|
||||
|
||||
threadsetname("runproc");
|
||||
|
||||
argv = argvp;
|
||||
win = argv[0];
|
||||
s = argv[1];
|
||||
|
|
|
|||
|
|
@ -139,6 +139,8 @@ fsysproc(void *v)
|
|||
Fcall t;
|
||||
uchar *buf;
|
||||
|
||||
threadsetname("fsysproc");
|
||||
|
||||
USED(v);
|
||||
x = nil;
|
||||
for(;;){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue