thread(2): threadgrp() -> threadgetgrp(), thanks jpm

This commit is contained in:
cinap_lenrek 2016-08-06 15:09:18 +02:00
parent b21fe017d1
commit 333468d668

View file

@ -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.