Fixed up parlib pthreads/harts
authorAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Wed, 4 Nov 2009 05:43:47 +0000 (21:43 -0800)
committerAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Wed, 4 Nov 2009 05:43:47 +0000 (21:43 -0800)
commit4b6811cad6c1595b60175f6dc63948aaee222ef3
tree1a164216949f15f7cc21692b5f401fedf4bb0a17
parentbc70284cc0a93f22eaccf751c0aa9112fdd35d44
Fixed up parlib pthreads/harts

Added a hart_current_harts() routine, fixed hart_yield()
to decrement that value; I leverage this in pthreads.
user/parlib/inc/hart.h
user/parlib/src/hart.c
user/parlib/src/pthread.c