PTHREAD_ATTR_GETNAME_NP(3) | Library Functions Manual | PTHREAD_ATTR_GETNAME_NP(3) |
pthread_attr_getname_np
,
pthread_attr_setname_np
—
#include <pthread.h>
int
pthread_attr_getname_np
(const
pthread_attr_t attr, char
*name, size_t
len);
int
pthread_attr_setname_np
(pthread_attr_t
attr, const char
*name, void
*arg);
pthread_attr_getname_np
() function gets the
descriptive name of a thread attribute. It takes the following arguments:
The pthread_attr_setname_np
() function
sets the descriptive name of a thread attribute. It takes the following
arguments:
pthread_attr_getname_np
().
The pthread_attr_setname_np
() function may
fail if:
July 7, 2010 | NetBSD 9.2 |