can anyone tell me the API for giving millisecond delay,similiar to NdisMsleep() API
If you are looking for one in Linux kernel, it should be msleep() or msleep_interruptible().
I am looking for millisecond API in Windows similiar to NdisMSleep,which is for Microsecond delay.
You can see the API doc using the command:
man 3 usleep
M$ Windows does not provide `man'. You press F1 there.
Sorry, the comment is for rahumathali, but post it under the wrong position.
Ahh ... wait, .... I got confused with the question and didn't understand it well.
I just realized that the two post were by rahumathali and he wants the API for Windows.
Really sorry, all.
In that case, you may want to try MSDN (Microsoft Developer Network) website.
Or, just google for it.
Sorry, I am not in for M$ Windows ;-)
Thank u for ur suggestion.i didn't find any API in MSDN.So i used the NdisMsleep() API in a for loop.My code is working fine.