major rewrite - 'struct thread' replaced with internal 'class Thread'
-rw-r--r-- 72 .gitignore
-rw-r--r-- 320 Makefile
-rw-r--r-- 384 common.h
-rw-r--r-- 428 libatomic.cc
-rw-r--r-- 619 libatomic.h
-rw-r--r-- 3881 libthreads.cc
-rw-r--r-- 338 libthreads.h
-rw-r--r-- 794 malloc.c
-rw-r--r-- 1781 model.cc
-rw-r--r-- 1212 model.h
-rw-r--r-- 388 schedule.cc
-rw-r--r-- 323 schedule.h
-rw-r--r-- 838 threads_internal.h
-rw-r--r-- 542 userprog.c