[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Short sleeps.
Mads Bondo Dydensborg wrote:
>
> On Fri, 11 Jan 2002, Steve Baker wrote:
>
> > > Amd, looking at my FIrst Edition of Linux Device Drivers, on page 137, there
> > > is mention of the udelay() function, which is pretty high resolution, BUT, it
> > > blocks. The books says that there are no functions (or fails to mention
> > > functions) for such high resolution delays.
> >
> > I don't see a 'udelay' in any modern Linux docs.
>
> Its a kernel thing.
>
> Please Steve, couldn't you explain a bit more about what you are trying to
> do? I am really curious. It may even help me/someone to come up with a
> solution.
>
> Please?
The last time I have discussed this problem with a friend, we only found
the sound queue as possible none hot polling high resoultion time base.
You can use select for sync.
Bye,
Johns
--
Become famous, earn no money, create music or graphics for FreeCraft
http://FreeCraft.Org - A free real-time strategy game engine
http://FreeCraft.Net/fcmp - The FreeCraft Media Project