This is Project 02 of CSE.30341.FA20.
- Matt Tressler ([email protected])
- Josh Bottelberghe ([email protected])
The following are questions that should help you in thinking about how to approach implementing Project 02. For this project, responses to these brainstorming questions are not required.
-
What data must be allocated and deallocated for each
Request
structure? -
What does a valid HTTP request look like?
-
What data must be allocated and deallocated for each
Queue
structure? -
How will you implement mutual exclusion?
-
How will you implement signaling?
-
What are the critical sections?
-
What data must be allocated and deallocated for each
MessageQueue
structure? -
What should happen when the user publishes a message?
-
What should happen when the user retrieves a message?
-
What should happen when the user subscribes to a topic?
-
What should happen when the user unsubscribes to a topic?
-
What needs to happen when the user starts the
MessageQueue
? -
What needs to happen when the user stops the
MessageQueue
? -
How many internal threads are required?
-
What is the purpose of each internal thread?
-
What
MessageQueue
attribute needs to be protected from concurrent access?
Link to video demonstration of chat application.: https://drive.google.com/file/d/1Ibt2Xr6XVXPUN8uvXbRGHY78B3ob4Ikl/view?usp=sharing
Describe any known errors, bugs, or deviations from the requirements.