ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: 983.04 Khz timer

To:
Subject: Re: [ts-7000] Re: 983.04 Khz timer
From: Lennert Buytenhek <>
Date: Thu, 20 Apr 2006 16:14:13 +0200
On Thu, Apr 20, 2006 at 03:34:39PM +0200, Lennert Buytenhek wrote:

> Sometimes a process might end up sleeping too long (if it decides to
> sleep for 0.0001 second just moments before a timer interrupt comes in,
> and that timer interrupt decides to skip calling timer_tick()), but it
> is already the case that processes can sleep arbitrary amounts of time
> longer than what they asked for, as nanosleep(x) is documented as
> sleeping for "at least x".

I should add that implementing support for high-resolution timers
(http://lwn.net/Articles/167897/) is on my TODO list, hopefully for
2.6.18 -- this will allow sleeping sub-10ms intervals, so that you
can finally bitbang your I2C bus at 5 kHz without eating 100% CPU.


cheers,
Lennert


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU