A pre-emptive and priority driven threading library for linux