Project to create a pre-emptive thread library in LINUX