internal void CheckInterrupt() { if (_interrupted) { _interrupted = false; Interrupt?.Invoke(this, EventArgs.Empty); } _nativeContext.SetCounter(MinCountForCheck); }
public ExecutionContext() { _nativeContext = new NativeContext(); Running = true; _nativeContext.SetCounter(MinCountForCheck); }
public ExecutionContext(IJitMemoryAllocator allocator) { _nativeContext = new NativeContext(allocator); Running = true; _nativeContext.SetCounter(MinCountForCheck); }