Fixes bug with uthread migration
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 25 Sep 2012 23:35:17 +0000 (16:35 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 25 Sep 2012 23:35:17 +0000 (16:35 -0700)
commit154e1657163c76bfec3c1ad50528c086a153c42b
tree4662c960e646ec5067de4681c8ed732d5c11d800
parente9052a46781d43973cfe7368c542e7356397d7c9
Fixes bug with uthread migration

We were calling functions in uthread_pause that used TLS.  Instead of
making that illegal, I just cut down the time we're in another vcore's
TLS to a very small, controlled region.
user/parlib/uthread.c