Skip to content

Commit 4302285

Browse files
committed
Atomics.waitAsync should be enabled in graal-nodejs.
1 parent 3833717 commit 4302285

File tree

1 file changed

+1
-0
lines changed
  • graal-nodejs/mx.graal-nodejs/com.oracle.truffle.trufflenode/src/com/oracle/truffle/trufflenode

1 file changed

+1
-0
lines changed

graal-nodejs/mx.graal-nodejs/com.oracle.truffle.trufflenode/src/com/oracle/truffle/trufflenode/GraalJSAccess.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ private GraalJSAccess(String[] args) throws Exception {
390390
contextBuilder.option(JSContextOptions.DIRECT_BYTE_BUFFER_NAME, "true");
391391
contextBuilder.option(JSContextOptions.V8_COMPATIBILITY_MODE_NAME, "true");
392392
contextBuilder.option(JSContextOptions.CLASS_FIELDS_NAME, "true");
393+
contextBuilder.option(JSContextOptions.ATOMICS_WAIT_ASYNC_NAME, "true");
393394
// Node.js does not have global load property
394395
contextBuilder.option(JSContextOptions.LOAD_NAME, "false");
395396
// Node.js provides its own console

0 commit comments

Comments
 (0)