Repository navigation
Commit 8e08102
Tests: count the channel rig's executes atomically (#167)
The every-rung channel test starts two feeds at once, so two
readers can be created on different threads. The rig counted
them with a plain increment, which can lose one: CI saw 4 of 5
on master. The count is now an Interlocked increment read with
Volatile.Read. The library is unchanged.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 36947db commit 8e08102
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
201 | | - | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
0 commit comments