WHAT IS THE DIFFERENCE BETWEEN PROCESS AND THREAD?

Pushpendra Singh

Total Post:241

Points:1205
Posted by  Pushpendra Singh
Java 
 998  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:241

    Points:1205
    What is the difference between process and thread?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!