06-14-2004
48,
0
Join Date: Jan 2001
Last Activity: 20 July 2008, 5:26 AM EDT
Posts: 48
Thanks Given: 0
Thanked 0 Times in 0 Posts
Introducing Delay less then a second.
Hi,
I have a doubt in introducing a delay in the programs.
We know that we do have a sleep() function/api using which
we can bring a delay in terms of seconds.
A minimum delay can be atleast 1 second.
Now I'm bothered about how to introduce a delay that is just
less than a second. Like some amount of milli or microsecond delay.
Drivers that are associated with physical devices some time
requires to have a delay of some microsceonds for getting a
result of a query that has been submitted to the device.
So, how to introduce this microsecond delay. Probably like
we might requre some microseconds as the poling interval.
So, how to achieve this.
Let me know your ideas.
Regards
Vishwa.