Created
February 13, 2019 15:32
-
-
Save pruet/1ba0863e81a50bd55a728c7151892db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Requirement: | |
Extend DNWS to make it supports multi-thread. The server should spawn a thread per connection. | |
Instruction: | |
Using your repo that fork from https://github.com/pruet/261433 in HW1 | |
Extend the code, implement the thread mechanism in the code base. See this tutorial for example | |
After you finish your job, make a pull request with your student ID as pull request comment, then submit this assignment | |
Grading Objective: | |
1. Implements multi-thread server (2 pts) | |
2. A thread per connection (2 pts) | |
3. The code structure is not changed, e.g., the relationship between main class, DotNetWebServer and HttpProcessor is preserved (2 pts) | |
4. Threads are tracked, i.e., it's possible to abort any child thread. (2 pts) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment