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
@@ -261,6 +261,7 @@ void user_timer_check_team_user_timers(Team* team);
status_t _user_get_clock(clockid_t clockID, bigtime_t* _time);
status_t _user_set_clock(clockid_t clockID, bigtime_t time);
status_t _user_get_cpuclockid(thread_id id, int32 which, clockid_t* _clockID);
int32 _user_create_timer(clockid_t clockID, thread_id threadID,
uint32 flags, const struct sigevent* event,