This commit is contained in:
Markus Armbruster 2007-07-27 19:10:39 +00:00
parent 0eeed1c920
commit 1be2d7be4c

View file

@ -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);