LINUX - Implemented threading