2008-10-08 05:47:02     sleep functions query

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-10-08 05:47:02     sleep functions query

Appalayagari Sreedhar (INDIA)

Message: 63258   

 

Hi,

 

I have query about the functionality about the sleep functions ( msleep , usleep)

 

suppose if i use the function msleep in one of my kernel codes.

 

..........

 

statement A

 

msleep(1000)

 

statement B

 

..................

 

will the system comes back to execute the next statement after msleep(1000) i.e., statement B after 1000 milli secs or more than that, are there any chances that it will come back even before the 1000 milli secs.

 

Thanks in advance.

 

Best Regards, Sreedhar.

 

 

QuoteReplyEditDelete

 

 

2008-10-08 07:08:43     Re: sleep functions query

Robin Getz (UNITED STATES)

Message: 63262   

 

Sreedhar:

 

It could be longer, it will never be shorter.

 

-Robin

Attachments

    Outcomes