notifyChange must hold changeMu when broadcasting. Without the lock, the broadcast can fire between the consumer's value check and its cond.Wait call — the signal is lost and the consumer sleeps until the next change, causing an apparent off-by-one lag. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent | ||
| backend | ||
| config | ||
| env | ||
| log | ||
| mcp | ||
| paths | ||
| skills | ||
| tools | ||