Pass sched_ops to uthread_2ls_init()
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 24 Aug 2015 14:03:21 +0000 (10:03 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 24 Aug 2015 14:18:28 +0000 (10:18 -0400)
commit6d7adf977ed4ec2987ec00d06e5729e3b78156ea
tree704f2c6cef81efb7c2e963ceb361717306b6a106
parent7148a229e8f7747ad66aa5d577e650565b86e8a6
Pass sched_ops to uthread_2ls_init()

This is necessary so that in a later commit we can "atomically" set the
2LS ops and change current_uthread.  Ops like signal_ops aren't as
critical in this regard.
tests/mcp_halt.c
tests/mhello.c
tests/old/syscall.c
user/parlib/include/uthread.h
user/parlib/uthread.c
user/pthread/pthread.c