ollama/progress
Daniel Hiltgen b5d373f340
fix data races in progress and sched (#18319)
progress: join the render loop in stop and do the final writes after the
goroutine exits, so Stop/StopAndClear cannot race an in-flight render on
the shared bufio.Writer.

sched: read the unload-mutable fields in runnerRef.LogValue only under a
successful refMu.TryLock and omit them when contended, since slog resolves
it on goroutines that may already hold refMu.
2026-09-08 13:13:59 -07:00
..
bar.go progress: fix data races on ticker, states, spinner, and bar state (#17445) 2026-08-04 15:06:15 -07:00
progress.go fix data races in progress and sched (#18319) 2026-09-08 13:13:59 -07:00
progress_test.go progress: fix data races on ticker, states, spinner, and bar state (#17445) 2026-08-04 15:06:15 -07:00
spinner.go progress: fix data races on ticker, states, spinner, and bar state (#17445) 2026-08-04 15:06:15 -07:00
stepbar.go