mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-04 00:40:27 +00:00
Add phtread_setname_np() and pthread_getname_np()
This commit is contained in:
parent
114176c304
commit
de511bc71a
8 changed files with 355 additions and 4 deletions
|
@ -91,6 +91,8 @@ void pthread_exit(void *) wontreturn;
|
|||
pthread_t pthread_self(void) pureconst;
|
||||
pthread_id_np_t pthread_getthreadid_np(void);
|
||||
int64_t pthread_getunique_np(pthread_t);
|
||||
int pthread_setname_np(pthread_t, const char *);
|
||||
int pthread_getname_np(pthread_t, char *, size_t);
|
||||
int pthread_getattr_np(pthread_t, pthread_attr_t *);
|
||||
int pthread_attr_init(pthread_attr_t *);
|
||||
int pthread_attr_destroy(pthread_attr_t *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue