threads: cleanup inconsistencies in memory management
-rw-r--r-- 67 .gitignore
-rw-r--r-- 332 Makefile
-rw-r--r-- 385 common.h
-rw-r--r-- 376 libatomic.cc
-rw-r--r-- 619 libatomic.h
-rw-r--r-- 951 libthreads.cc
-rw-r--r-- 338 libthreads.h
-rw-r--r-- 795 malloc.c
-rw-r--r-- 5834 model.cc
-rw-r--r-- 2517 model.h
-rw-r--r-- 1006 schedule.cc
-rw-r--r-- 363 schedule.h
-rw-r--r-- 2983 threads.cc
-rw-r--r-- 823 threads.h
-rw-r--r-- 921 tree.cc
-rw-r--r-- 777 tree.h
-rw-r--r-- 542 userprog.c