public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* delay
@ 2005-08-24  6:45 raja
  2005-08-24 10:12 ` delay Vladimir V. Saveliev
  2005-08-24 17:00 ` delay Tim Bird
  0 siblings, 2 replies; 4+ messages in thread
From: raja @ 2005-08-24  6:45 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,
    Would you please tell me how to write a function that generates a 
delay of Less than a sec.(ie for 1 milli se or one microsec etc).

Thankingyou,
Raja

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: delay
  2005-08-24  6:45 delay raja
@ 2005-08-24 10:12 ` Vladimir V. Saveliev
  2005-08-24 10:45   ` delay Jesper Juhl
  2005-08-24 17:00 ` delay Tim Bird
  1 sibling, 1 reply; 4+ messages in thread
From: Vladimir V. Saveliev @ 2005-08-24 10:12 UTC (permalink / raw)
  To: raja; +Cc: Linux Kernel Mailing List

Hello

raja wrote:
> Hi,
>    Would you please tell me how to write a function that generates a
> delay of Less than a sec.(ie for 1 milli se or one microsec etc).
> 

Maybe you could use: linux/kernel/timer.c:schedule_timeout()

> Thankingyou,
> Raja
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: delay
  2005-08-24 10:12 ` delay Vladimir V. Saveliev
@ 2005-08-24 10:45   ` Jesper Juhl
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Juhl @ 2005-08-24 10:45 UTC (permalink / raw)
  To: Vladimir V. Saveliev; +Cc: raja, Linux Kernel Mailing List

On 8/24/05, Vladimir V. Saveliev <vs@namesys.com> wrote:
> Hello
> 
> raja wrote:
> > Hi,
> >    Would you please tell me how to write a function that generates a
> > delay of Less than a sec.(ie for 1 milli se or one microsec etc).
> >
> 
> Maybe you could use: linux/kernel/timer.c:schedule_timeout()
> 

udelay() / ndelay() ?

-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: delay
  2005-08-24  6:45 delay raja
  2005-08-24 10:12 ` delay Vladimir V. Saveliev
@ 2005-08-24 17:00 ` Tim Bird
  1 sibling, 0 replies; 4+ messages in thread
From: Tim Bird @ 2005-08-24 17:00 UTC (permalink / raw)
  To: raja; +Cc: Linux Kernel Mailing List

raja wrote:
> Hi,
>     Would you please tell me how to write a function that generates a 
> delay of Less than a sec.(ie for 1 milli se or one microsec etc).

See udelay() (follow the trail from: include/linux/delay.h)

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-24 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24  6:45 delay raja
2005-08-24 10:12 ` delay Vladimir V. Saveliev
2005-08-24 10:45   ` delay Jesper Juhl
2005-08-24 17:00 ` delay Tim Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox