giovinazzo-kevin / Ergo

Other
4 stars 0 forks source link

Cuts As Cancellation Tokens #9

Closed giovinazzo-kevin closed 2 years ago

giovinazzo-kevin commented 2 years ago
  1. Create a CancellationTokenSource when Solve is called
  2. Attach its token to the SolverScope
  3. Check whether the cancellation for that token was requested instead of using a volatile bool
giovinazzo-kevin commented 2 years ago

Changes