Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Differentiate between process and thread?
Home
Technology
Differentiate between process and thread?
asked
Jan 19, 2021
in
Technology
by
JackTerrance
Differentiate between process and thread?
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Jan 19, 2021
by
JackTerrance
There are the following differences between the process and thread.
A Program in the execution is called the process whereas; A thread is a subset of the process
Processes are independent whereas threads are the subset of process.
Process have different address space in memory, while threads contain a shared address space.
Context switching is faster between the threads as compared to processes.
Inter-process communication is slower and expensive than inter-thread communication.
Any change in Parent process doesn't affect the child process whereas changes in parent thread can affect the child thread.
Related questions
0
votes
Q: Differentiate between the Thread class and Runnable interface for creating a Thread?
Differentiate between the Thread class and Runnable interface for creating a Thread?...
asked
Jan 19, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is a process, thread?
What is a process, thread?...
asked
Nov 10, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Process and child Thread ram usage
I am using gunicorn with two worker to run a Flask API for deploying an ML model. And I open ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 3, 2022
in
Education
by
JackTerrance
pythonlinuxmultithreadingprocess
0
votes
Q: When is multi process application is better than multi thread application in a single machine?
I was asked below two questions in an software engineer interview but could not answer. I did goggle search ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 2, 2022
in
Education
by
JackTerrance
multithreadingmultiprocessing
0
votes
Q: To differentiate between singular and plural, __________.
To differentiate between singular and plural, __________. A. (?:text|texts) B. (.*text|texts) C. (*text|texts) D. (?text|texts)...
asked
Dec 13, 2022
in
Technology
by
JackTerrance
cucumber
0
votes
Q: Is Scrum and Agile the same? If not so, differentiate between them.
Is Scrum and Agile the same? If not so, differentiate between them....
asked
Aug 19, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: How to differentiate between ActionResult and ViewResult?
How to differentiate between ActionResult and ViewResult?...
asked
Jun 14, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between univariate, bivariate, and multivariate analysis.
Differentiate between univariate, bivariate, and multivariate analysis....
asked
Apr 26, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between Reusable Transformation and Mapplet.
Differentiate between Reusable Transformation and Mapplet....
asked
Mar 29, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between joiner and Lookup Transformation.
Differentiate between joiner and Lookup Transformation....
asked
Mar 27, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between Source Qualifier and Filter Transformation?
Differentiate between Source Qualifier and Filter Transformation?...
asked
Mar 27, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between TOS for Data Integration and TOS for Big Data?
Differentiate between TOS for Data Integration and TOS for Big Data?...
asked
Mar 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between TOS for Data Integration and TOS for Big Data.
Differentiate between TOS for Data Integration and TOS for Big Data....
asked
Mar 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between the usage of tJava, tJavaRow, and tJavaFlex components.
Differentiate between the usage of tJava, tJavaRow, and tJavaFlex components....
asked
Mar 18, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Differentiate between “insert or update” and “update or insert”?
Differentiate between “insert or update” and “update or insert”....
asked
Mar 18, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
...