Polish empthread documentation somewhat
This commit is contained in:
parent
efc3a8e6e2
commit
3e3c2eecf9
1 changed files with 4 additions and 3 deletions
|
@ -131,12 +131,12 @@ empth_t *empth_create(void (*entry)(void *),
|
||||||
empth_t *empth_self(void);
|
empth_t *empth_self(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return the name THREAD.
|
* Return THREAD's name.
|
||||||
*/
|
*/
|
||||||
char *empth_name(empth_t *thread);
|
char *empth_name(empth_t *thread);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the name of THREAD to NAME.
|
* Set THREAD's name to NAME.
|
||||||
*/
|
*/
|
||||||
void empth_set_name(empth_t *thread, char *name);
|
void empth_set_name(empth_t *thread, char *name);
|
||||||
|
|
||||||
|
@ -182,7 +182,8 @@ void empth_wakeup(empth_t *thread);
|
||||||
int empth_sleep(time_t until);
|
int empth_sleep(time_t until);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wait for signal, return the signal number.
|
* Put current thread to sleep until SIGHUP, SIGINT or SIGTERM is received.
|
||||||
|
* Return the signal number.
|
||||||
*/
|
*/
|
||||||
int empth_wait_for_signal(void);
|
int empth_wait_for_signal(void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue