mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
add threadgetname
This commit is contained in:
parent
361e279c59
commit
515b6e5bff
1 changed files with 6 additions and 0 deletions
|
@ -329,6 +329,12 @@ threadsetname(char *fmt, ...)
|
|||
va_end(arg);
|
||||
}
|
||||
|
||||
char*
|
||||
threadgetname(void)
|
||||
{
|
||||
return proc()->thread->name;
|
||||
}
|
||||
|
||||
void
|
||||
threadsetstate(char *fmt, ...)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue