Difference between revisions of "Creating Multithreaded Skyrim Mods Part 3 - Callbacks"
Creating Multithreaded Skyrim Mods Part 3 - Callbacks (edit)
Revision as of 22:51, 19 January 2015
, 22:51, 19 January 2015no edit summary
imported>Chesko (Created page with "Category: Tutorials '''''Coming soon.'''''") |
imported>Chesko |
||
Line 1: | Line 1: | ||
[[Category: Tutorials]] | [[Category: Tutorials]] | ||
'''''Coming soon. | 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. | |||
[[File:Multithreading_fig3_1a.png|1128px|center|Fig. 3.1, 3.2]] | |||
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.''' |