Public Types | |
enum | Interval { Microsec = 1, Millisec = 1000, Second = 1_000_000, Minute = 60_000_000 } |
Static Public Member Functions | |
static ulong | getMillisecs () |
static void | sleep (uint interval=uint.max) |
static Thread | createThread (ThreadDelegate dg, bool start=false) |
static char[] | error () |
static char[] | error (uint errcode) |
Public Attributes | |
public class VersionAres typedef void(* | ThreadDelegate )() |
else typedef int(* | ThreadDelegate )() |
Definition at line 134 of file System.d.
|
Time interval multipliers. All Mango intervals are based upon microseconds. |
|
Return the number of milliseconds since January 1st 1970 |
|
Send this thread to sleep for a while. The time interval is measured in microseconds. Specifying a period value of uint.max will cause the calling thread to sleep forever. Definition at line 169 of file System.d. References version. |
|
|
|
Definition at line 203 of file System.d. References version. |
|
|
|
Create a thread for the given delegate, and optionally start it up. |
|
|