POSIX: add pthread_getcpuclockid()

fix #15615

Change-Id: I6b34f97464fac97d0b339fa338cfc5df34536080
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8681
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Jérôme Duval
2024-12-17 09:45:13 +00:00
parent 1ad6193d82
commit 04c90835ac
8 changed files with 153 additions and 13 deletions
+1
View File
@@ -196,6 +196,7 @@ extern int pthread_atfork(void (*prepare)(void), void (*parent)(void),
void (*child)(void));
extern int pthread_once(pthread_once_t *once_control,
void (*init_routine)(void));
extern int pthread_getcpuclockid(pthread_t thread_id, clockid_t* clock_id);
/* thread attributes functions */
extern int pthread_attr_destroy(pthread_attr_t *attr);