From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 15:56:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2771065675 for ; Sun, 7 Dec 2008 15:56:48 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0C28FC19 for ; Sun, 7 Dec 2008 15:56:48 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so315612ywe.13 for ; Sun, 07 Dec 2008 07:56:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=RFBgf0UXguEWv4yWNwxMWm3MXxashumnOtECyg1Yed0=; b=dpDmjgohIxAsJWGFNQbPV4RgzRxPaMe30rmAtzQPr7pf1EHLszVa6PZHxkUd5mgn3M QLNaPVrWAdv4M9ntx9//0sIYGwiMb+vinBRhuppk16aj+oQo4SY3BktNOKtdUTVG0raW pXkvJUS4bx8Ea+LIjcbaWaZMPgy84wbQpXnTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=icl1gOn3y2+CPznYkitmH1GOCilVIwX1p5TlG4mHGumUAeGPouwcRH2lfFk9uKbjOv WovMs8n/i/TL/sPUSZ1B3nmEXryfeCqzY5GlMHOsaG088/K8NzydfFGCPg+r9XcaD5I3 LEuv6mUfZurkUjKZOo/LeZk0LoVgSUPglrhNE= Received: by 10.151.110.14 with SMTP id n14mr1856470ybm.160.1228665407685; Sun, 07 Dec 2008 07:56:47 -0800 (PST) Received: by 10.150.154.21 with HTTP; Sun, 7 Dec 2008 07:56:47 -0800 (PST) Message-ID: <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com> Date: Sun, 7 Dec 2008 17:56:47 +0200 From: "Yony Yossef" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Timer driven tasks in FreeBSD 7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 15:56:48 -0000 Hi All, What mechanism should I use for making my netwrok driver call a function every half a second, for instnace? I am already using task queues but I haven't found a way to make it work with a timer. Thanks Yony