We don't care about pure thread safety correctness of the interrupt boolean, it needs to be as low overhead as possible
| 413 | // We don't care about pure thread safety correctness of the |
| 414 | // interrupt boolean, it needs to be as low overhead as possible |
| 415 | __attribute__((no_sanitize("thread"))) void IJavaScriptContext::requestInterrupt() { |
| 416 | _interruptRequested = true; |
| 417 | } |
| 418 | |
| 419 | __attribute__((no_sanitize("thread"))) void IJavaScriptContext::onInterrupt() { |
| 420 | if (_listener != nullptr) { |