Added non-preemptive pthreads support.
authorAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Mon, 26 Oct 2009 22:56:15 +0000 (15:56 -0700)
committerAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Mon, 26 Oct 2009 22:56:15 +0000 (15:56 -0700)
commitd099948f6317ec7974d51911fb4839974c94f605
treec48643bcd45baba21e8392109724b361e07a5928
parent7ba1a2578df9eec74985059c93376f5cde71bd31
Added non-preemptive pthreads support.

The pthreads wrapper builds on harts.  It generates libpthread.a,
which users must link against to run a subset of pthreads programs.
It's barely tested on SPARC and not at all on i386, but there's no
arch-specific code, so it may well work...
14 files changed:
kern/src/Makefrag
kern/src/kfs.c
kern/src/manager.c
kern/src/syscall.c
user/apps/parlib/Makefrag
user/apps/parlib/pthread/Makefrag [new file with mode: 0644]
user/apps/parlib/pthread/blackscholes.c [new file with mode: 0644]
user/apps/parlib/pthread/optionData.txt [new file with mode: 0644]
user/apps/parlib/pthread/pthread_test.c [new file with mode: 0644]
user/parlib/Makefrag
user/parlib/pthread/Makefrag [new file with mode: 0644]
user/parlib/pthread/include/pthread.h [new file with mode: 0644]
user/parlib/pthread/src/Makefrag [new file with mode: 0644]
user/parlib/pthread/src/pthread.c [new file with mode: 0644]