Originally posted by V Srinivasan: Process is purely CPU's action Thread manipulates the CPU's idle time
Yes, but a Thread manages one single process
Joined: Jul 28, 2000
Differences between a thread and a Process 1) It takes less overhead to create and destroy individual threads than it does individaual process which is why all modern operating systems support multithreading 2) IPC (Inter Process communication) is much slower and more restrictive than communication between threads 3) Each process has a complete set of its own variables while threads share the same data. Regds. Rahul P. Mahindrakar
Methods like yield(),wait() are provided for IPC in java.Thus they cater to different threads inside the same ONE process.Multiple concurrent processes are supported in modern os's in process control blocks are created by the os track their addresses.Sharing of data is expensive between processes,the familiar consumer-producer processes ascompared to threads within a single process coz of faster context switching.Hope it helps.