ext-pmmpthread
ext-pmmpthread copied to clipboard
Thread autoload bootstrap
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().
In conjunction with Thread::getSharedGlobals(), this could become a powerful tool for thread bootstrapping