Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Sep 26 14:07:14 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m8QL7Ek4000538 for ; Fri, 26 Sep 2008 14:07:14 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m8QLAdxr016252 for ; Fri, 26 Sep 2008 14:10:39 -0700 Message-Id: <200809262110.m8QLAdxr016252@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: doubt regarding server shut down in Warmup2 Date: Fri, 26 Sep 2008 14:10:39 -0700 From: Bill Cheng Someone wrote: > I had doubt regarding the termination of the servers, When should the > servers be terminated? Only if Ctrl^C is pressed or even if the total no. of > customers are serviced, they should terminate. In the Running Your Code section of the spec, it says: This process continues until all customers are served. So, when the server finished serving the last customer in the system, you should print out the statistics and quit. -- Bill Cheng // bill.cheng@usc.edu