Return-Path: william@bourbon.usc.edu Delivery-Date: Wed Sep 17 11:22:09 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 m8HIM9oe013528 for ; Wed, 17 Sep 2008 11:22:09 -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 m8HINLlf027757 for ; Wed, 17 Sep 2008 11:23:21 -0700 Message-Id: <200809171823.m8HINLlf027757@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: 551 warmup-2 Date: Wed, 17 Sep 2008 11:23:21 -0700 From: Bill Cheng Someone wrote: > For project 2, both servers are waiting on the same condition > variable and mutex. I just want to make sure I am not creating a > deadlock Waiting on the same condition variable and mutex does not create deadline. In general, if you *hold* a *mutex* while waiting on another *mutex* to become available, then you *may* get into a deadline. -- Bill Cheng // bill.cheng@usc.edu ------Original Message------ From: Bill Cheng To: cs551@merlot.usc.edu Sent: Sep 16, 2008 8:06 PM Subject: Re: 551 warmup-2 Someone wrote: > 1) In the following lines of the spec, is the gap a '\t' or is it 4 > blank spaces? > > Parameters: > lambda = 0.15 It's 4 blank spaces. -- Bill Cheng // bill.cheng@usc.edu