I've completed a working multithreading library and programmer's guide for WoW addon developers. Before I release the addon I was hoping to signup a few devs to review the Programmer's Guide before I release the addon. I'm specifically looking for feedback on missing functionality. Here's the README.md file:
# WoWThreads (Code name Talon)
An Asynchronous Non-preemptive Multithread Library for World of Warcraft Addon Developers
WowThreads (code name Talon) is an API used to incorporate asynchronous, non-preemptive multithreading into WoW Addons. Talon provides the major features you would expect such as thread creation, joining, signaling, delay, yield, and so forth. Here is a summary of some of the services that are available in this release.
Threads - creation, yield, join, exit, thread:destroy, signal (set/get), state (active, suspended, terminated)
Signals - SIG_NONE, SIG_RETURN, and SIG_WAKEUP.
Tuning - Get/Set thread and clock intervals. Collection of per thread idle time, runtime, and other stats
Debug - Error handling, runtime error location
Talon is designed to increase an addon's ability to take advantage of the WoW client's inherent asynchronicity by offering threads to which tasks can be assigned and then run asnchronously relative to the WoW client's execution code path. For example, the OnEvent() service is nothing more that a normal procedure call (i.e., the WoW client calls 'into' the addon's code). As such, OnEvent() does not return to its caller (the WoW client) until the addon is done with the event. By passing the event off to a Talon thread for asynchronous processing, the OnEvent() service can return immediately allowing the addon's thread to handle the event. This substantially increases the asynchronicity of an addon.
For more information and examples, see the WoWThreads Programmer's Guide in the Doc directory.
USAGE:
Talon is a set of services that can be used to incorporate Asynchronous, non-preemptive multithreading services into a WoW Addon.
I've completed a working multithreading library and programmer's guide for WoW addon developers. Before I release the addon I was hoping to signup a few devs to review the Programmer's Guide before I release the addon. I'm specifically looking for feedback on missing functionality. Here's the README.md file:
Tell us on the wowuidev discord about it and you will get (non)constructive feedback
https://discord.gg/sVQCHr5