Fwd: CSE531 Project4 Question

49 views
Skip to first unread message

Partha Dasgupta

unread,
Nov 15, 2017, 1:07:16 PM11/15/17
to asu-cse-531-fall-2007
From: Partha Dasgupta <par...@asu.edu>
Date: Wed, Nov 15, 2017 at 11:05 AM
Subject: Re: CSE531 Project4 Question
To: David Hartzog <daveh...@gmail.com>


At this point, the ports and the messages are to be implemented. Messages are "uninterpreted" by the message system, that is whatever is sent is received. Using 10 integers, it is possible for clients and servers to marshall-demarshall, send OP codes and all that. You put something in the messages and make sure that same thing appears when received, and in the correct order, and boundary conditions are handled, and synchronization (blocking) works.


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

On Tue, Nov 14, 2017 at 7:12 PM, David Hartzog <daveh...@gmail.com> wrote:
Another thing, in the spec it states that for simplicity the message type consists of only 10 integers. Does this mean that the server will not be demarshalling an OP code, return port, and msg and therefore will not be returning messages to the client? What are we to put in the message?

Thanks,
David

On Nov 13, 2017 5:20 PM, "Partha Dasgupta" <par...@asu.edu> wrote:
1. Use the user level threads.
2. q.h is used for scheduling, so do not modify it. You can use arrays to do queues of messages -- or you can have a message_q.h to implement message queues. 

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

On Mon, Nov 13, 2017 at 5:16 PM, David Hartzog <daveh...@gmail.com> wrote:
Hi Professor,
For the 438th project, are we using pthreads or are we using TCB user level scheduling? The reason I'm asking is because the q.h file will need to be modified to queue messages instead of TCBs.

Thanks,
David



Reply all
Reply to author
Forward
0 new messages