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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user