thread(2): threadgrp() -> threadgetgrp(), thanks jpm
This commit is contained in:
parent
b21fe017d1
commit
333468d668
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ void threadexitsall(char *status)
|
||||||
void yield(void)
|
void yield(void)
|
||||||
.XX
|
.XX
|
||||||
int threadid(void)
|
int threadid(void)
|
||||||
int threadgrp(void)
|
int threadgetgrp(void)
|
||||||
int threadsetgrp(int group)
|
int threadsetgrp(int group)
|
||||||
int threadpid(int id)
|
int threadpid(int id)
|
||||||
.XX
|
.XX
|
||||||
|
@ -271,7 +271,7 @@ Each thread also has a thread group id.
|
||||||
The initial thread has a group id of zero.
|
The initial thread has a group id of zero.
|
||||||
Each new thread inherits the group id of
|
Each new thread inherits the group id of
|
||||||
the thread that created it.
|
the thread that created it.
|
||||||
.I Threadgrp
|
.I Threadgetgrp
|
||||||
returns the group id for the current thread;
|
returns the group id for the current thread;
|
||||||
.I threadsetgrp
|
.I threadsetgrp
|
||||||
sets it.
|
sets it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue