Socket server + thread: cpu usage
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 30 17:31:15 PDT 2014
On 04/30/2014 04:24 PM, Damian Day wrote:
> Thread.sleep( dur!("msecs")( 20 ) );
Going off topic, the UFCS syntax makes that code much more readable. :)
Thread.sleep(20.msecs);
Ali
More information about the Digitalmars-d-learn
mailing list