Files
buildkit/util
Tonis Tiigi b190bef7d3 progress: make writer closed flag atomic
progressWriter.Close set done while other goroutines could still be
writing to the writer, for example a shared vertex writing its snapshot
into the progress of a job that is finishing. Write read the flag
without synchronization. Make done an atomic.Bool.

Add a test that closes a writer while it is being written to; it
reports the race under -race without the fix.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-10-27 22:55:53 -07:00
..
2026-08-26 02:06:18 -07:00
2018-01-31 18:44:09 -08:00
2025-05-02 12:44:01 -07:00
2026-01-13 22:09:25 -08:00
2025-01-13 16:42:48 -08:00
2026-10-22 11:11:56 +02:00
2024-09-26 12:57:45 -05:00
2026-10-12 17:07:16 +02:00
2026-08-26 02:06:18 -07:00
2026-05-14 10:13:21 -07:00
2024-06-10 21:16:51 -07:00