Answers for "pthread_detach example"

0

pthread_detach example

pthread_detach Syntax
int pthread_detach(pthread_t tid ); #include <pthread. h> pthread_t tid ; int ret ; /* detach thread tid */ ret = pthread_detach( tid ); The pthread_detach() function is used to indicate to your application that storage for the thread tid can be reclaimed when the thread terminates.
Posted by: Guest on March-13-2021

Browse Popular Code Answers by Language