G3Kappa / Ergo

Other
4 stars 0 forks source link

Cuts As Cancellation Tokens #9

Closed G3Kappa closed 2 years ago

G3Kappa 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
G3Kappa commented 2 years ago

Changes