Home > DeveloperSection > Interviews > What is the difference between process and thread?

Posted on    October-25-2010 12:00 AM

 Java Java 
 1 Answer(s)
  934  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Posted on    November-08-2010 1:00 AM

A Procees is an execution of program but a thread is a single execution sequence within a process.
A process can contain n number of threads.

Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.

Don't want to miss updates? Please click the below button!

Follow MindStick