LibC: Implement pthread_{get,set}attr_default_np

This commit is contained in:
2026-07-02 19:50:07 +03:00
parent 372da006d0
commit c0e091b647
2 changed files with 27 additions and 9 deletions

View File

@@ -168,6 +168,8 @@ void pthread_cleanup_push(void (*routine)(void*), void* arg);
// non portable APIs
int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr);
int pthread_getattr_default_np(pthread_attr_t* attr);
int pthread_setattr_default_np(const pthread_attr_t* attr);
#define _pthread_equal(t1, t2) ((t1) == (t2))