Sets the name attribute for the thread.
#include <pthread.h> int pthread_attr_setname_np ( const pthread_attr_t *attr, char *name void **mbz );
(IN) Points to a thread attribute structure.
(IN) Points to the name for the thread. The name can be up to 20 characters long, a count which includes the NULL termination.
(IN) Reserved. Set to 0.
If successful, returns 0; otherwise, returns a nonzero error code.