What is the difference between shared memory and message passing?



What is the difference between shared memory and message passing?..

Answer / Ankit Kumar Singh

Shared memory allows multiple processes to access the same memory region, while message passing involves sending messages (usually in the form of data structures) between processes through a communication channel. Shared memory provides faster communication but requires synchronization, while message passing offers better process isolation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

How do you check your operating system?

1 Answers  


Explain binary semaphore and its functionality.

1 Answers   Accenture,


What is Dirty bit? What is the role/purpose of dirty bit?

1 Answers  


Do I need web plugins for vlc?

1 Answers  


Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started?

1 Answers  


What is the difference between chkdsk r and f?

1 Answers  


What is the difference between exclusive lock and shared lock?

1 Answers  


What is sin_addr?

1 Answers  


What do you understand by multi-threading and multi-tasking?

1 Answers   Tech Mahindra,


What is the purpose of hard disk?

1 Answers  


Give some benefits of multithreaded programming.

1 Answers  


What is a compiler?

7 Answers  


Categories