From owner-freebsd-current Sat Dec 19 15:03:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29187 for freebsd-current-outgoing; Sat, 19 Dec 1998 15:03:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29182 for ; Sat, 19 Dec 1998 15:03:47 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA22261; Sat, 19 Dec 1998 15:03:14 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma022258; Sat, 19 Dec 98 15:03:04 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id PAA03836; Sat, 19 Dec 1998 15:03:04 -0800 (PST) From: Archie Cobbs Message-Id: <199812192303.PAA03836@bubba.whistle.com> Subject: Re: asleep()/await(), M_AWAIT, etc... In-Reply-To: <199812192111.NAA20772@apollo.backplane.com> from Matthew Dillon at "Dec 19, 98 01:11:24 pm" To: dillon@apollo.backplane.com (Matthew Dillon) Date: Sat, 19 Dec 1998 15:03:03 -0800 (PST) Cc: archie@whistle.com, freebsd-current@FreeBSD.ORG, jkh@zippy.cdrom.com, julian@whistle.com, luoqi@watermarkgroup.com X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon writes: > [ deleted ] That all sounds good to me. I'd like to hear some other people's opinions besides just yours and mine though :-) Also, this kind of thing must be very well documented in the code, e.g., at the points in the code that are calling await(). Otherwise, people changing the code later on could inadvertently add race conditions, etc. based on assumptions that are obsolete. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message