Comment.
This commit is contained in:
parent
0eeed1c920
commit
1be2d7be4c
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ void empth_yield(void);
|
||||||
* if it executed empth_exit(). It is unspecified when exactly that
|
* if it executed empth_exit(). It is unspecified when exactly that
|
||||||
* happens.
|
* happens.
|
||||||
* THREAD must not be the current thread.
|
* THREAD must not be the current thread.
|
||||||
|
* Naive use of this function almost always leads to resource leaks.
|
||||||
|
* Terminating a thread that may hold locks is not a good idea.
|
||||||
*/
|
*/
|
||||||
void empth_terminate(empth_t *thread);
|
void empth_terminate(empth_t *thread);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue