Skip to content

Commit

Permalink
multithreading, deasyncifying async host functions, perf improvements…
Browse files Browse the repository at this point in the history
… context flush, proper gas handling
  • Loading branch information
angrymouse committed Feb 25, 2024
1 parent 6b0cc76 commit e536de1
Show file tree
Hide file tree
Showing 17 changed files with 23,578 additions and 1,028 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/test/*.js
*.d.ts
*.js.map
build
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
/test/*.js
*.d.ts
*.js.map
/duktape
/duktape
build/
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"C_Cpp.errorSquiggles": "disabled"
"C_Cpp.errorSquiggles": "disabled",
"files.associations": {
"*.ejs": "html",
"*.amp": "html",
"xhash": "cpp",
"mutex": "cpp",
"duk_internal.h": "c"
}
}
12 changes: 9 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,23 @@
"./duktape/src-new",
"./"
],
"include":[
"./duktape/src-input/duk_hthread.h"
],
"cflags": [
"-m",
"-std=c++11",
"-Wimplicit-function-declaration",
"-x c++"
],
"cflags_cc":["-Wimplicit-function-declaration"],
"flags":["-m"],
"cflags_cc":["-m","-Wimplicit-function-declaration"],
"conditions": [
["OS=='win'", {
"cflags!": ["/EHs", "/EHc"],
"cflags_cc": ["/EHsc"],
"cflags!": ["-m","/EHs", "/EHc"],
"cflags_cc": ["-m","/EHsc"],
"msvs_settings": {
"ParallelBuild":"1",
"VCCLCompilerTool": {
"ExceptionHandling": "1"
}
Expand Down
Loading

0 comments on commit e536de1

Please sign in to comment.