mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 21:22:11 +00:00
add pthread_setname_np
the thread name is displayed by gdb's "info threads".
This commit is contained in:
@ -214,6 +214,7 @@ struct cpu_set_t;
|
||||
int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *);
|
||||
int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *);
|
||||
int pthread_getattr_np(pthread_t, pthread_attr_t *);
|
||||
int pthread_setname_np(pthread_t, const char *);
|
||||
int pthread_tryjoin_np(pthread_t, void **);
|
||||
int pthread_timedjoin_np(pthread_t, void **, const struct timespec *);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user