add: module threads; read and write binary file supports

This commit is contained in:
hyb1996
2017-12-03 14:13:34 +08:00
parent 1413bf21a5
commit 6fb6e14369
11 changed files with 172 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ module.exports = function(__runtime__, scope){
}
engines.myEngine = function(){
return scope.__engine__;
return rtEngines.myEngine();
}
engines.stopAll = rtEngines.stopAll.bind(rtEngines);