pthreads: Remove sched_policy and sched_priority
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 28 Apr 2017 19:19:10 +0000 (15:19 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 16:16:41 +0000 (12:16 -0400)
commitff9442d85455c8efaf1048558a013d555f59bb1b
tree84175a7e2be2d13e0e89cda870a8277d1c32cca7
parent6fe7e387b53279add4e42e230f2abc66ab444bdf
pthreads: Remove sched_policy and sched_priority

We never actually supported this - we just faked it.  We'll continue to
fake it, but won't track the faked values in the thread struct.

If it turns out that the pthreads interface is the best way for apps to
influence a 2LS, then we can hook these functions up to real 2LS ops.
Until then, we'll go with the "application-specific" nature of the 2LS,
where the 2LS itself is made to work with a particular app.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/pthread/pthread.c
user/pthread/pthread.h