common.h: move common code (non-user) to header
-rw-r--r-- 72 .gitignore
-rw-r--r-- 215 Makefile
-rw-r--r-- 330 common.h
-rw-r--r-- 2947 libthreads.c
-rw-r--r-- 368 libthreads.h
-rw-r--r-- 966 schedule.c
-rw-r--r-- 190 schedule.h