From owner-freebsd-arch@FreeBSD.ORG Wed Jun 9 18:49:15 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8643E16A4CE for ; Wed, 9 Jun 2004 18:49:15 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C0CF43D31 for ; Wed, 9 Jun 2004 18:49:15 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <2004060918490501300995u2e>; Wed, 9 Jun 2004 18:49:05 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA59443; Wed, 9 Jun 2004 11:49:06 -0700 (PDT) Date: Wed, 9 Jun 2004 11:49:05 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp In-Reply-To: <57610.1086806344@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: reference counting.. continued.. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 18:49:15 -0000 On Wed, 9 Jun 2004, Poul-Henning Kamp wrote: > In message , Ju > lian Elischer writes: > > > >There are several goals that need to be kept in mind. > > Please, whatever you do, show that your API will deal with the > refcounting of struct tty. Pay particular attention to the > sysctl function which makes the difference between a CS-101 > assignment and the real world. yes this is the kind of thing that makes for 'fun'.. So, having just dealt with it, how would you go about describing the general case that your example falls into (for example if you were writing a textbook)?