ext-pmmpthread icon indicating copy to clipboard operation
ext-pmmpthread copied to clipboard

Thread autoload bootstrap

Open dktapps opened this issue 2 years ago • 2 comments

This is a duplicate of #23, which was closed by the deletion of the fork-ng branch and can't be reopened due to github.

Upon further musings, I think it would make sense to allow adding multiple files for this. In essence, this function allows the developer to say "require this file before running any thread code". Perhaps addAutoloadFile() instead of setAutoloadFile().

dktapps avatar Apr 24 '23 15:04 dktapps

In conjunction with Thread::getSharedGlobals(), this could become a powerful tool for thread bootstrapping

dktapps avatar Nov 21 '23 13:11 dktapps