Where is sleep()?
rikki cattermole
rikki at cattermole.co.nz
Sun Dec 17 08:40:53 UTC 2017
On 17/12/2017 8:32 AM, Ryan David Sheasby wrote:
> Hey guys. First time poster here. I've searched high and low but can't
> seem to find a simple sleep/delay/wait/pause function in the core or in
> phobos. The most recent information I can find about it is this forum
> post from 12 years ago:
> http://forum.dlang.org/thread/avr99b$b8j$2@digitaldaemon.com In which
> they suggest using std.c.time which is now depreciated and seems to have
> been replaced by core.stdc.time which doesn't have any sleep
> functions... What am I missing?
That link is not relevant to D.
https://dlang.org/phobos/core_thread.html#.Thread.sleep
More information about the Digitalmars-d-learn
mailing list