Difference between revisions of "Creating Multithreaded Skyrim Mods"

no edit summary
imported>Chesko
imported>Chesko
Line 40: Line 40:
== Key Terms ==
== Key Terms ==


* '''Thread''' - An individual script instance that does work. Returns results to a <code>Future</code>.
* '''Thread''' - An individual script instance that does work. Returns results to a <code>Future</code> or raises a callback event (depending on the pattern used).
* '''Thread Manager''' - A script that controls which thread handles a task. Returns a <code>Future</code> to the user of the script, if using that pattern.
* '''Thread Manager''' - A script that controls which thread handles a task. Returns a <code>Future</code> to the user of the script, if using that pattern.
* '''Callback (Callback pattern)''' - A Mod Event that is raised when a thread completes. Passes the thread results in the event parameters.  
* '''Callback (Callback pattern)''' - A Mod Event that is raised when a thread completes. Passes the thread results in the event parameters.  
Anonymous user