Creating Multithreaded Skyrim Mods Part 3 - Callbacks
Revision as of 21:51, 19 January 2015 by imported>Chesko
This tutorial picks up where our introduction left off. 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:
- Register for our Callback Event and call a function on our Thread Manager.
- The Thread Manager delegates the work to an available thread.
- 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.