diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 00:09:58 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 00:09:58 +0200 |
commit | c15f10ee78c6fa837732bb0b3d6cec44e4171fcd (patch) | |
tree | 866f1bd8fb5b0736fbbfa9cf4c09ef3f20e2a3e7 /sysdeps/htl/timer_routines.h | |
parent | 3dc0814cba86180c3ad478c81166220fb3e87ea5 (diff) | |
download | glibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.tar.gz glibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.tar.xz glibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.zip |
Revert "Fix sched_param"
This reverts commit 783c4820303fb6b031d401564f8089ecaf154b62 which accidentaly flew out.
Diffstat (limited to 'sysdeps/htl/timer_routines.h')
-rw-r--r-- | sysdeps/htl/timer_routines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/htl/timer_routines.h b/sysdeps/htl/timer_routines.h index 062128cf92..a8134f510f 100644 --- a/sysdeps/htl/timer_routines.h +++ b/sysdeps/htl/timer_routines.h @@ -32,8 +32,8 @@ thread_attr_compare (const pthread_attr_t * left, const pthread_attr_t * right) struct __pthread_attr *ileft = (struct __pthread_attr *) left; struct __pthread_attr *iright = (struct __pthread_attr *) right; - return ileft->__schedparam.__sched_priority - == iright->__schedparam.__sched_priority + return ileft->__schedparam.sched_priority + == iright->__schedparam.sched_priority && ileft->__stackaddr == iright->__stackaddr && ileft->__stacksize == iright->__stacksize && ileft->__guardsize == iright->__guardsize |