| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index f1ba9a3347d7148cb7dfaced95d9a82fea412709..8f4a6a3df4f074920815bd88887f65455ad6a089 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -6619,7 +6619,7 @@ class V8_EXPORT Isolate {
|
|
|
| /**
|
| * Whether calling Atomics.wait (a function that may block) is allowed in
|
| - * this isolate.
|
| + * this isolate. This can also be configured via SetAllowAtomicsWait.
|
| */
|
| bool allow_atomics_wait;
|
|
|
| @@ -7479,6 +7479,13 @@ class V8_EXPORT Isolate {
|
| */
|
| bool IsInUse();
|
|
|
| + /**
|
| + * Set whether calling Atomics.wait (a function that may block) is allowed in
|
| + * this isolate. This can also be configured via
|
| + * CreateParams::allow_atomics_wait.
|
| + */
|
| + void SetAllowAtomicsWait(bool allow);
|
| +
|
| Isolate() = delete;
|
| ~Isolate() = delete;
|
| Isolate(const Isolate&) = delete;
|
|
|