:zap: Just an experiment to achieve multi-threading in AutoIt, as a library.
:clap: All issues and pull requests are welcome!
:bell: Give a star and subscribe (watch) to get notified about changes.
Download the latest release (or build from source).
Library files:
Simple example:
#NoTrayIcon
#include 'N.au3'
func task()
MsgBox(0, '', "Hello, I'm in another thread.")
endfunc
func main()
local $t = NRun('task')
NWait($t)
endfunc
NMain('main')
More examples:
See N.au3 to get all APIs.
Requirements:
Build steps:
Please see the C++ source code, I'll update soon 😀.
Yep, it's designed for both running script in AutoIt.exe and compiled (also upx packed) EXE.
After the first thread is created, the memory increases once ~EXE size. And +80kB after each thread done, that isn't memory leaks, they are static members/smart pointers of AutoIt interpreter still alive. They will be freed when process exits.
Yesh, it is implemented with hash table. I don't know why AutoItObject lookups property name through array sequentially.
Nope.
Not implemented yet.