threads: save id within class Thread
-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-- 5728 model.cc
-rw-r--r-- 2485 model.h
-rw-r--r-- 894 schedule.cc
-rw-r--r-- 331 schedule.h
-rw-r--r-- 2902 threads.cc
-rw-r--r-- 810 threads.h
-rw-r--r-- 921 tree.cc
-rw-r--r-- 777 tree.h
-rw-r--r-- 542 userprog.c