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 | |
Previous Tutorial | Next Tutorial |
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.
Previous Tutorial | Return to Tutorial Hub | Next Tutorial |