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 processes Any 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.
What is the difference between processes and threads?
You May Also Like
Oracle has several modes for shutting down the database: In normal mode, the database is shut down by default. It...
- Interview
- November 30, 2023
Materialized views are items that contain condensed sets of data from base tables that have been summarized, clustered, or aggregated. They...
- Interview
- November 30, 2023
Every database in Oracle has a tablespace called SYSTEM, which is generated automatically when the database is created. It also...
- Interview
- November 30, 2023