Re: What if I only want to sleep for milliseconds?
- Posted by mattlewis (admin) Jun 25, 2009
- 1322 views
DerekParnell said...
ryanj said...
It doesn't work? That's strange. I specifically remember having a chat with the developers about modifying the sleep() routine about...a year ago? I thought for sure they implemented the more precise version. What happened, Eu guys?
It works fine for me. I'm using revision #2176 but I'm not sure what the latest alpha was using.
Have a look at include/std/os.e file for the sleep() function. It should look like this ...
He probably was still using the 3.1 standard library. It's important to note that the new library needs to be prefixed by 'std/'.
Matt