From owner-freebsd-arch@FreeBSD.ORG Tue Nov 14 18:29:21 2006 Return-Path: X-Original-To: arch@freebsd.org 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 14FF516A403 for ; Tue, 14 Nov 2006 18:29:21 +0000 (UTC) (envelope-from rnsanchez@wait4.org) Received: from spunkymail-a15.dreamhost.com (sd-green-bigip-74.dreamhost.com [208.97.132.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2691043D7B for ; Tue, 14 Nov 2006 18:29:11 +0000 (GMT) (envelope-from rnsanchez@wait4.org) Received: from sauron.lan.box (unknown [200.180.164.105]) by spunkymail-a15.dreamhost.com (Postfix) with ESMTP id 356C77F068; Tue, 14 Nov 2006 10:28:13 -0800 (PST) Date: Tue, 14 Nov 2006 16:26:58 -0200 From: Ricardo Nabinger Sanchez To: Poul-Henning Kamp Message-Id: <20061114162658.ae168dcf.rnsanchez@wait4.org> In-Reply-To: <7105.1163451221@critter.freebsd.dk> References: <7105.1163451221@critter.freebsd.dk> Organization: SYS_WAIT4 X-Mailer: Sylpheed version 2.3.0beta2 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: a proposed callout API X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 18:29:21 -0000 On Mon, 13 Nov 2006 20:53:41 +0000 Poul-Henning Kamp wrote: > XXX_disarm(struct xxx*) > Unarm the timer. > > XXX_drain(struct xxx*) > Drain the timer. One of these (or both) removes a callout from the tree? I don't quite understand their differences. -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."