Dino's Blog

.NET Stuff

September, 2004

  • Dino's Blog

    Cooperative Fiber Mode Sample - Day 9

    • 4 Comments
    The managed Fiber class exists in its own directory in the SDK sample appropriately called Fiber. The Fiber class is designed to be vaguely similar to the managed Thread class. For example, like the Thread has ThreadState the fiber has FiberStates. The...
  • Dino's Blog

    Cooperative Fiber Mode Sample - Day 10

    • 0 Comments
    In this article we’re going to look at the implementation of Abort and RudeAbort. In the last article I mentioned that a typical host wouldn’t need to expose these to managed code. Why is that? If you have a fiber mode scheduler typically Thread.Abort...
  • Dino's Blog

    Cooperative Fiber Mode Sample - Day 6

    • 0 Comments
    The synchronization primitives are handled off to the runtime by the IHostSyncManager interface. We’ve already provided this to the runtime through our GetHostManager callback on IHostControl. Our IHostSyncManager is implemented on our IHostTaskManager...
  • Dino's Blog

    Cooperative Fiber Mode Sample - Day 7

    • 0 Comments
    At this point we’ve covered nearly all the major components of the unmanaged host. The one remaining detail is the interface that’s used between the managed fiber mode implementation and the unmanaged host. This is all implemented in callbacks.cpp. We...
  • Dino's Blog

    Cooperative Fiber Mode Sample - Day 8

    • 0 Comments
    It seems like a good time to take a breather and look at what we have going on so far. First, we’ve started the runtime. We’ve handed our IHostControl off to the runtime. The runtime has called back to our IHostControl and gotten a couple of managers...
Page 1 of 1 (5 items)