Ok, this is a stupid question…
Are pipes, FIFOs, and sockets shared memory or message passing..?
At first I thought they were shared memory because pipes use read() and write(), but now I’m just totally confused. Technically the “messages” are stored in the kernal’s address space, so is it a message or stored memory? I have an exam for Intro to OS’s in a few hours, and I just need this cleared up. Thanks in advance!
message passing, as they require participation on both sides, sender and receiver in case of sockets for example. they can be implemented using shared memory, but communication pattern is message passing