pthread_delete_np3
Delete a real-time thread
Usage
int pthread_delete_np
(pthread_t
thread);
Overview
This function is a non-portable Real-Time Linux extension. pthread_delete_np deletes the real-time thread thread previously created by a call to pthread_create. pthread_delete_np can be used to kill threads running on other than current CPU.
Return value
pthread_delete_np returns 0 on success and a non-zero error code on error.
Errors
- ESRCH
-
No thread could be found corresponding to that specified by the given thread ID.