On Monday 03 August 2009 10:28:38 Ed Schouten wrote:
> * Robert Watson <rwat...@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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to