This class represents a simple virtual execution environment. Building the entire software stack on top of this environment
allows the same code to be run in a simulator, emulator, or on physical hardware without changes, and eases the debugging.
For thread safety, the services provided by this class, with the exception of Clock and Scheduler, should be used only
from within the context of internal QuickSilver threads. To schedule the execution of code in the context of QuickSilver, one
can use the Scheduler service.

C# | Visual Basic | Managed C++ |
public interface IPlatform : IDisposable
Public Interface IPlatform _ Implements IDisposable
public interface class IPlatform : IDisposable

All Members | Constructors | Methods | Properties | Fields | Events |
Icon | Member | Description |
---|---|---|
![]() | AlarmClock |
This is a high-resolution timer that can be used to schedule code for execution. Code executed by the timer must be short
and terminating. The timer can only be used from within the context of the QuickSilver threads.
|
![]() | Clock |
This is a high-resolution clock, with microsecond-level accuracy on physical hardware.
|
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | EventLogger |
This is a more sophisticated logging facility that consumes more descriptive event objects.
|
![]() | Filesystem |
This is a virtualized filesystem.
|
![]() | Logger |
This is a simple logging facility that consumes plain text messages.
|
![]() | Network |
This is a virtualized network stack.
|
![]() | Scheduler |
This service allows a callback to be scheduled for execution in the context of the internal QuickSilver threads. It can be used
by any thread. This is the preferred means of transfering control between the application threads and QuickSilver threads.
Code executed by the scheduler must be short and terminating.
|