Skip to content

Commit e536de1

Browse files
committed
multithreading, deasyncifying async host functions, perf improvements context flush, proper gas handling
1 parent 6b0cc76 commit e536de1

17 files changed

+23578
-1028
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
/test/*.js
1313
*.d.ts
1414
*.js.map
15+
build

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
/test/*.js
1313
*.d.ts
1414
*.js.map
15-
/duktape
15+
/duktape
16+
build/

.vscode/settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"C_Cpp.errorSquiggles": "disabled"
2+
"C_Cpp.errorSquiggles": "disabled",
3+
"files.associations": {
4+
"*.ejs": "html",
5+
"*.amp": "html",
6+
"xhash": "cpp",
7+
"mutex": "cpp",
8+
"duk_internal.h": "c"
9+
}
310
}

binding.gyp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,23 @@
1313
"./duktape/src-new",
1414
"./"
1515
],
16+
"include":[
17+
"./duktape/src-input/duk_hthread.h"
18+
],
1619
"cflags": [
20+
"-m",
1721
"-std=c++11",
1822
"-Wimplicit-function-declaration",
1923
"-x c++"
2024
],
21-
"cflags_cc":["-Wimplicit-function-declaration"],
25+
"flags":["-m"],
26+
"cflags_cc":["-m","-Wimplicit-function-declaration"],
2227
"conditions": [
2328
["OS=='win'", {
24-
"cflags!": ["/EHs", "/EHc"],
25-
"cflags_cc": ["/EHsc"],
29+
"cflags!": ["-m","/EHs", "/EHc"],
30+
"cflags_cc": ["-m","/EHsc"],
2631
"msvs_settings": {
32+
"ParallelBuild":"1",
2733
"VCCLCompilerTool": {
2834
"ExceptionHandling": "1"
2935
}

0 commit comments

Comments
 (0)