Pthread create, join, and exit
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 17 Apr 2010 22:42:10 +0000 (15:42 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:43 +0000 (17:35 -0700)
commitf35c3ed435fd4d17900633350e6589c0592b5d0f
tree09f2ed732e3bf9782a0bce1756aba0f6546d3d6b
parent6e0a0526e8fb46e240ec24712f67fa7effc01286
Pthread create, join, and exit

Primitive pthread scheduler.  It doesn't handle notifications, yield
between pthreads, support non-spinning sync, etc.  It just executes each
pthread to completion, FCFS, on whatever vcores are in the system.

P.S. - careful of races with free on exit/join...
kern/arch/i686/ros/trapframe.h
tests/pthread_test.c
user/include/i686/arch.h
user/include/i686/vcore.h
user/include/pthread.h
user/include/sparc/arch.h
user/include/vcore.h
user/parlib/pthread.c
user/parlib/vcore.c