From owner-freebsd-hackers Sun Sep 30 17:56:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.shell-server.com (24-109-11-245.ivideon.com [24.109.11.245]) by hub.freebsd.org (Postfix) with SMTP id 7FF8E37B40C for ; Sun, 30 Sep 2001 17:56:31 -0700 (PDT) Received: (qmail 14925 invoked from network); 1 Oct 2001 00:56:29 -0000 Received: from betsy.shell-server.com (HELO there) (192.168.3.2) by erin-rl0.shell-server.com with SMTP; 1 Oct 2001 00:56:29 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Bart Kus Message-Id: <200109301944.18930@EO> To: Poul-Henning Kamp Subject: Re: sio modification Date: Sun, 30 Sep 2001 19:57:36 -0500 X-Mailer: KMail [version 1.3] Cc: hackers@freebsd.org References: <7490.1001884707@critter> In-Reply-To: <7490.1001884707@critter> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 30 September 2001 16:18, Poul-Henning Kamp wrote: > Yes, you'll have to poll, sorry... Ick. How hard would it be to pull off one of the following: 1) Give time_pps_fetch() the ability to become a blocking call 2) Modify the PPS API slightly, by allowing time_pps_fetch() to return a list of events, rather than just 1 event (would need facility to set max # of events for kernel to record - max backlog) I can't think of any other way of dealing with the problem of remote controls under freebsd, other than out-right writing something new tailored for the problem. I assume #1 is hard, since it's not implemented, and is proposed in the PPS API. #2 would be an a-ok solution too, since I could poll time_pps_fetch() 10 times/sec or something and still give fairly real-time response to remote control button presses. --Bart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message