Class JSWebAssemblyMemoryNotifyCallback

java.lang.Object
com.oracle.truffle.js.runtime.builtins.wasm.JSWebAssemblyMemoryNotifyCallback
All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSWebAssemblyMemoryNotifyCallback extends Object implements com.oracle.truffle.api.interop.TruffleObject
Represents a callback that is invoked when the memory.atomic.notify instruction executes in WebAssembly. This allows us to reuse the JS implementation of Atomics.notify.
  • Constructor Details

    • JSWebAssemblyMemoryNotifyCallback

      public JSWebAssemblyMemoryNotifyCallback(JSRealm realm, JSContext context)