Delete the duplicated sched_{policy,param} members from the internal struct
authorguenther <guenther@openbsd.org>
Wed, 29 Apr 2015 06:01:37 +0000 (06:01 +0000)
committerguenther <guenther@openbsd.org>
Wed, 29 Apr 2015 06:01:37 +0000 (06:01 +0000)
commitb33c17d37d7e40941775515d05953afa434bec48
treec8afb70effc345ec3b50e78e1dc69996bd7d6181
parentbbe898582e648c1eecf8c7b894af920c15c98379
Delete the duplicated sched_{policy,param} members from the internal struct
pthread and instead use the values from the embedded struct pthread_attr.
For bonus points, pay attention to the sched_inherit attribute and possibly
set the values from the parent thread.

Problem noted by natano of bitrig.
lib/librthread/rthread.c
lib/librthread/rthread.h
lib/librthread/rthread_sched.c