This is an operating system course project -- to implement a thread library