3 Commits
Author SHA1 Message Date
latentprionandCursor 7c9bec7b9c spinscale: document slot-cancel-before-internal-op-cancel ordering.
Shutdown call sites must set slot cancelers before cancelling timers, I/O,
or hardware capture so callees observe stop intent when unblocked.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 18:26:54 -04:00
hayodea 0afa3e16b8 SyncCanceler: Fix visibility; reuse helper method 2026-05-29 12:05:36 -04:00
hayodea 4dbc066aac New class: SyncCancelerForAsyncWork
This class abstracts the pattern of running an async callee which
needs to be able to be canceled from a synchronous code path.

It really just lifts the logic that's regularly used in the
StimulusProducer path into a reusable abstraction.
2026-05-29 06:22:02 -04:00