threads: don't call the userprogram interface for initial thread, just create it
-rw-r--r-- 72 .gitignore
-rw-r--r-- 857 Makefile
-rw-r--r-- 1115 action.h
-rw-r--r-- 677 common.h
-rw-r--r-- 523 libatomic.cc
-rw-r--r-- 771 libatomic.h
-rw-r--r-- 776 librace.cc
-rw-r--r-- 452 librace.h
-rw-r--r-- 812 libthreads.cc
-rw-r--r-- 374 libthreads.h
-rw-r--r-- 825 malloc.c
-rw-r--r-- 7364 model.cc
-rw-r--r-- 2089 model.h
-rwxr-xr-x 44 run.sh
-rw-r--r-- 1002 schedule.cc
-rw-r--r-- 357 schedule.h
-rw-r--r-- 2934 threads.cc
-rw-r--r-- 1091 threads.h
-rw-r--r-- 988 tree.cc
-rw-r--r-- 800 tree.h
-rw-r--r-- 703 userprog.c