man pthread_delete_np () - delete a real-time thread

NAME

pthread_delete_np - delete a real-time thread

SYNOPSIS

#include <rtl_sched.h> 
 
int pthread_delete_np(pthread_t thread); 

DESCRIPTION

This function is a non-portable Realtime Linux extension. pthread_delete_np deletes the realtime 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 but this is not recommended as it has non-deterministic execution.

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.

AUTHOR

Michael Barabanov (baraban@fsmlabs.com (link to URL mailto:baraban@fsmlabs.com) )

SEE ALSO

UNIX spec pthread_create(3) (link to URL ../susv2/xsh/pthread_create.html)

©2001 FSMLabs Inc.

All rights reserved.