mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibPThread: Add pthread_set/getname_np
These wrappers call the set_thread_name and get_thread_name syscalls respectively.
This commit is contained in:
committed by
Andreas Kling
parent
9058962712
commit
baf7e247e3
@@ -81,4 +81,7 @@ int pthread_mutexattr_init(pthread_mutexattr_t*);
|
||||
int pthread_mutexattr_settype(pthread_mutexattr_t*, int);
|
||||
int pthread_mutexattr_destroy(pthread_mutexattr_t*);
|
||||
|
||||
int pthread_setname_np(pthread_t, const char*, int);
|
||||
int pthread_getname_np(pthread_t, char*, int);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user