Just in case data0 was changed by another thread? Sometimes people write funny code
Mike
Just in case data0 was changed by another thread? Sometimes people write funny code
Mike
Just in case data0 was changed by another thread? Sometimes people write funny code
Mike
If you’re thinking the two data elements should be a ring-buffer: you’re right. And if you’re thinking those signed shifts should be unsigned: you’re right. 3 bugs in 3 lines of code: go me! Fixed.
If you’re thinking the two data elements should be a ring-buffer: you’re right. And if you’re thinking those signed shifts should be unsigned: you’re right. 3 bugs in 3 lines of code: go me! Fixed.