Project #5 question about "Clients and servers do not share memory "

57 views
Skip to first unread message

LEI

unread,
Nov 17, 2017, 2:53:08 AM11/17/17
to asu-cse-531-fall-2007
Hello Professor,

In the details of Project #5, noticed that clients and server do not share memory. However, in the message passing program that we did for Project #4, clients and server shared some memory, eg. the messages and semaphores. In the assumptions and tips(project #5), I saw that we don't need to change the message system. So, the shared memory in the message system doesn't matter?

Partha Dasgupta

unread,
Nov 17, 2017, 1:04:39 PM11/17/17
to LEI, asu-cse-531-fall-2007
Yes, clients and servers do not share memory (often not possible). So do not use shared memory/semaphores between clients and servers. 

Yes, the message passing shares memory (but that is not part of the client/server programs. This is called abstraction.

Processes do not share memory (but they share OS memory, scheduling queues, message passing etc).

C programs do not use assembly. Of course they do, when compiled.

There are many such examples.



Partha Dasgupta,
ASU/CIDSE/Computer Science & Eng. 
EMail: par...@asu.edu
http://cactus.eas.asu.edu/partha

On Fri, Nov 17, 2017 at 12:53 AM, LEI <leig...@gmail.com> wrote:
Hello Professor,

In the details of Project #5, noticed that clients and server do not share memory. However, in the message passing program that we did for Project #4, clients and server shared some memory, eg. the messages and semaphores. In the assumptions and tips(project #5), I saw that we don't need to change the message system. So, the shared memory in the message system doesn't matter?

--
You received this message because you are subscribed to the Google Groups "asu-cse-531-fall-2007" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asu-cse-531-fall-2007+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages