Write a simple Web server using a collection of threads organized in a master-slave configuration. The master thread receives requests. When a request is received, the master thread checks a pool of slave threads to find a free thread. The request is handed to the first free thread, which then services the request, as illustrated in Figure 8.17. [This problem was suggested and implemented for a short open-ended assignment (Problem 8-30) by Kevin Vaughan, a junior at North Carolina State University in 1997.]
Figure 8.17
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here