thread or 1 process and 2 process