Question
What is the difference between multiple processes and multiple threads

Answers

- Multiple processes are the way to provide multitasking environment to the user to allow him to switch over to different programs quickly. In these processes, it consists of complete set of its own variables and data. Multiple threads share the same variable and same data. Multiple processes are safe to use but multiple threads are riskier in the sense that they share the same data.
- Multiple processes have much more overhead but multiple threads have less overhead and individual threads can be stand alone if other threads are destroyed.
- In multiple processes inter communication is slower and more restrictive, whereas communication between threads are faster.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Explain annuity method of calculating depreciation.?
  • Q How to delete mails from the queue in postfix? or how can i clear postfix mail server queue?
  • Q How do you identify which protocol to use for any application?
  • Q Is the UI stored in the/an app or the app is just presenting the HTML5 code stored in SAP Gateway?
  • Q Is it possible to restrict the premium payment for a lesser number of years than the duration of the policy?
  • Q Compare the osmoregulations in aquatic and terrestrial systems.
  • Q About multi level and multiple inheritance how to achieve in .net
  • Q What are NPAs? How can they be reduced?
  • Q What is the difference between java command line arguments and C command line arguments?
  • Q When auto-join check box is checked what does it mean?
  • Q Which method is used to re-read the state of the given instance from the underlying database