1/23/2002
Simulation
Library Reference Design
Thread Layer
Purpose:
To abstract away the implementation
detail of different multi-threading
packages we might use. It only offers a simple abstraction of execution context and the mechanism to perform non-preemptive context switch.
Implemented by the three COM interfaces: Inative, Ithread, Ischeduler.
Since choices of the multi-threading package to use on different platforms may vary, an multi-threading API is established to wrap around different packages.