Special welcome gift. Get 50% off your first courses with code “AS50”. Find out more!

HomeInterviewWhat is the difference between processes and threads?
about us new 2

What is the difference between processes and threads?

Processes Threads
Process is related to execution of a program .Process consists of multiple threds.
Processes communicate with each other using inter-process communication .Threads of a process can communicate with each other.
Processes have control over the child processes.Threads of a process can have control over other threads.
Any modification in the parent process does not alter child processesAny modification in the main thread may impact the behavior of the other threads of the process.
Processes get executed in separate memory spaces.Threads are executed in shared memory spaces.
Operating sytem controls the rocess .Developer of the software has control over the usage of the threads.
Processes are independent of each other.Threads are dependent on each other.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

Categories

ads sidebar 1

You May Also Like

Oracle has several modes for shutting down the database: In normal mode, the database is shut down by default. It...
Materialized views are items that contain condensed sets of data from base tables that have been summarized, clustered, or aggregated. They...
Every database in Oracle has a tablespace called SYSTEM, which is generated automatically when the database is created. It also...