Date: Mon, 3 Aug 2009 11:29:04 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Ed Schouten <ed@80386.nl> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, Alfred Perlstein <alfred@freebsd.org>, Robert Watson <rwatson@freebsd.org>, Navdeep Parhar <nparhar@gmail.com>, svn-src-head@freebsd.org Subject: Re: svn commit: r195960 - in head/sys/dev/usb: . controller input (regression patch) Message-ID: <200908031129.06315.hselasky@c2i.net> In-Reply-To: <20090803082838.GE1292@hoeg.nl> References: <200908030923.12867.hselasky@c2i.net> <alpine.BSF.2.00.0908030909220.1507@fledge.watson.org> <20090803082838.GE1292@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 03 August 2009 10:28:38 Ed Schouten wrote: > * Robert Watson <rwatson@FreeBSD.org> wrote: > > I'm a bit surprised the timed key repeat in this patch would work > > properly in DDB, as microtime(9) relies on interrupts firing for > > updated timestamps. The availability of interrupts for polled input > > consumers varies, but in general this is not true (for example) at > > the DDB command prompt. Does this code work correctly when time > > stands still? > > Apart from that, who gives a *beep* about keyboard repeat while inside > the debugger. I have to confess it would be irritating to press > backspace multiple times, instead of holding the key pressed, but still, > it's not worth it. I think getmicrotime relies on interrupts, while microtime doesn't. See "man microtime". --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908031129.06315.hselasky>