projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix debugger tracking of shared libraries on mips with PIE main program
[musl]
/
src
/
thread
/
pthread_getcpuclockid.c
diff --git
a/src/thread/pthread_getcpuclockid.c
b/src/thread/pthread_getcpuclockid.c
index
cf3d2b8
..
9df14fb
100644
(file)
--- a/
src/thread/pthread_getcpuclockid.c
+++ b/
src/thread/pthread_getcpuclockid.c
@@
-2,5
+2,6
@@
int pthread_getcpuclockid(pthread_t t, clockid_t *clockid)
{
- return ENOSYS;
+ *clockid = (-t->tid-1)*8U + 6;
+ return 0;
}