Creating Multithreaded Skyrim Mods Part 3 - Callbacks

Revision as of 00:07, 22 January 2015 by imported>Chesko (Added tutorial navigation elements.)


Creating Multithreaded Skyrim Mods Part 3 - Callbacks
Multithreading Series, Chapter 3
Return to Tutorial Hub
LeftArrow.png Previous Tutorial Next TutorialRightArrow.png

We will be implementing a multithreaded solution to our example problem (a Conjuration mod that spawns many actors) using the Callback pattern.

Pattern Overview

Here is a diagram of how the Callback pattern works.

Above, you can see that the sequence is:

  1. Register for our Callback Event and call a function on our Thread Manager.
  2. The Thread Manager delegates the work to an available thread.
  3. After the thread finishes, we handle the callback in an event.

That is the Callback pattern. Just like the Futures pattern, we will now piece it all together.

Coming soon.

  Previous Tutorial Return to Tutorial Hub Next Tutorial