millisecond delay

Submitted by rahumathali
on October 20, 2008 - 1:29am

hi all
can anyone tell me the API for giving millisecond delay,similiar to NdisMsleep() API

Kernel-space or User-space?

on
October 20, 2008 - 11:46pm

Hi Ho!

If you are looking for one in Linux kernel, it should be msleep() or msleep_interruptible().

Best regards,
Eus

Windows

on
October 22, 2008 - 4:28am

Hi Eus,

I am looking for millisecond API in Windows similiar to NdisMSleep,which is for Microsecond delay.

You can see the API doc

Aloysius Indrayanto (not verified)
on
October 22, 2008 - 5:32am

You can see the API doc using the command:

man 3 usleep

In M$ Windows, `man' Is Not Available

on
October 22, 2008 - 11:29pm

Hi Ho!

M$ Windows does not provide `man'. You press F1 there.

Best regards,
Eus

Hello, Sorry, the comment is

Aloysius Indrayanto (not verified)
on
October 23, 2008 - 7:25am

Hello,

Sorry, the comment is for rahumathali, but post it under the wrong position.

Ahh ... wait, .... I got

Aloysius Indrayanto (not verified)
on
October 23, 2008 - 7:29am

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.

M$ Windows?

on
October 22, 2008 - 11:31pm

Hi Ho!

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

Best regards,
Eus

MillisecondAPI

on
December 31, 2008 - 6:17am

Hi Eus
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.

with regards
Rahumath ali

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.