3 ms·
The original code may have had something like min(read_once(available), buffer_size), with a suitably and correctly defined atomic read_once function. In that c
by nhaehnle 10y ago
The original code may have had something like min(read_once(available), buffer_size), with a suitably and correctly defined atomic read_once function. In that case, it would be fair to blame a bad min macro on problems.