|
Post by amitbharti on May 10, 2013 4:18:39 GMT
What is difference between delay and sleep?
|
|
|
Post by amitk3553 on May 11, 2013 9:35:20 GMT
What is difference between delay and sleep? If you talking about systemC then there is concept of delay(wait()) but no concept of sleep. Concept of sleep is related to host.
|
|
|
Post by anamikas on May 15, 2013 8:06:00 GMT
What is difference between delay and sleep? If you talking about systemC then there is concept of delay(wait()) but no concept of sleep. Concept of sleep is related to host. It depends on the particular library implementation. It is not a C++ specific question. As far as C++ is concerned, it is just a function call, just like a call to printf or even exit is a function call. One could be a call to wait for an event. One could be a call to sleep for a specified period of time. One could be a call to burn CPU cycles for a specified period of time
|
|