Non Pre emptive Thread library