Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

System Struct Reference

List of all members.

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 )()

Detailed Description

Some system-specific functionality that doesn't belong anywhere else. This needs some further thought and refinement.

Definition at line 111 of file System.d.


Member Enumeration Documentation

enum Interval
 

Time interval multipliers. All Mango intervals are based upon microseconds.

Enumeration values:
Microsec 
Millisec 
Second 
Minute 

Definition at line 120 of file System.d.


Member Function Documentation

static ulong getMillisecs  )  [inline, static]
 

Return the number of milliseconds since January 1st 1970

Definition at line 133 of file System.d.

static void sleep uint  interval = uint.max  )  [inline, static]
 

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 146 of file System.d.

References version.

static Thread createThread ThreadDelegate  dg,
bool  start = false
[inline, static]
 

Definition at line 168 of file System.d.

static char [] error  )  [inline, static]
 

Definition at line 180 of file System.d.

References version.

static char [] error uint  errcode  )  [inline, static]
 

Definition at line 192 of file System.d.

References strlen(), and version.


Member Data Documentation

public class VersionAres typedef void(* ThreadDelegate)()
 

Create a thread for the given delegate, and optionally start it up.

else typedef int(* ThreadDelegate)()
 


The documentation for this struct was generated from the following file:
Generated on Mon Nov 14 11:00:03 2005 for Mango by  doxygen 1.4.0