How we differentiate between thread and a process..