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
2026-06-05 15:55:22 +02:00
2026-05-14 10:13:15 -07:00
2026-09-21 16:59:16 +02:00
2026-10-12 17:07:16 +02:00
2023-05-15 10:15:48 +01:00
2024-09-09 16:26:05 -05:00
2026-03-09 22:15:43 -07:00
2026-03-09 22:15:43 -07:00
2026-09-29 18:37:28 +02:00
2025-08-11 13:12:53 +03:00
2026-10-12 17:07:16 +02:00
2018-01-31 18:44:09 -08:00
2026-10-15 16:26:52 +02:00
2026-03-09 22:15:43 -07:00
2026-05-27 11:34:13 +02:00
2026-10-06 18:00:12 +02:00
2025-05-02 12:44:01 -07:00
2026-01-13 22:09:20 -08:00
2026-01-13 22:09:25 -08:00
2025-01-13 16:42:48 -08:00
2026-10-07 16:48:24 +02:00
2026-10-22 11:11:56 +02:00
2024-09-26 12:57:45 -05:00
2026-06-05 18:01:26 +02:00
2024-10-04 12:52:15 -05:00
2026-10-12 17:07:16 +02:00
2024-04-05 16:24:40 -07:00
2026-08-07 10:13:54 +02:00
2026-08-25 23:42:29 -07:00
2026-09-30 15:12:24 +02:00
2026-09-18 19:36:21 +08:00
2026-02-20 08:13:38 -08:00
2026-03-09 22:15:43 -07:00
2026-06-10 10:12:36 +02:00
2026-10-27 22:55:53 -07:00
2026-08-07 10:13:54 +02:00
2026-09-01 23:56:20 +02:00
2026-08-04 00:03:02 +02:00
2026-05-06 14:21:50 -05:00
2026-05-14 10:13:21 -07:00
2026-10-14 11:13:00 -07:00
2026-08-13 16:04:16 +03:00
2026-09-29 13:39:11 -03:00
2026-08-26 02:06:18 -07:00
2026-09-29 16:29:49 -07:00
2024-05-13 23:40:01 -07:00
2026-08-07 10:13:54 +02:00
2026-09-24 22:37:07 +02:00
2026-05-14 10:13:21 -07:00
2026-09-18 15:41:57 +02:00
2025-05-07 18:23:20 -07:00
2024-06-10 21:16:51 -07:00
2025-04-02 10:22:02 -05:00
2026-09-21 15:57:50 -07:00