Skip to contentSkip to conversation

delay

DISCUSSION raja 4 participants 4 messages Aug 24, 2005

lore
Share & tools
lore

raja

author
#0 lore raw

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

#1 lore raw

Hello

Quoted 4 lines · raja

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()

Quoted 9 lines

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

#2 lore raw
Quoted 10 lines · Vladimir V. Saveliev

Hello

Quoted 4 lines · raja

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() ?

Signature · 3 lines
Jesper Juhl <[email protected]>
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
#3 lore raw
In reply to raja
Quoted 3 lines · raja

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
=============================