-
Matthew Waters authored
If both data channels become ready simultaneously, then the two integer read-add-update cycles can execute concurrently and only ever increment once instead of the required twice. Use an atomic add instead.
979daea7
If both data channels become ready simultaneously, then the two integer read-add-update cycles can execute concurrently and only ever increment once instead of the required twice. Use an atomic add instead.