Files
parallel-dc/core/network
LibretroAdmin adbbb12966 picoppp: the adapter's frames are taken 256 at a time
The network thread took frames from the broadband adapter until the ring
was empty, and only then gave the sockets and the stack's timers their
turn. A guest that sends without stopping refills the ring as fast as it
is emptied, so the turn never came: in the thread suite's flood, an ARP
request got its first answer and no other, which failed the test under
ASan (the slower build) and passed it under TSan by luck.

No more than 256 frames in one pass; when there may be more, the thread
comes back for them after the rest has run, without sleeping in between.

tools/threads/run.sh: the adapter test gets four ARP replies under both
sanitizers (it wants two).
2026-10-08 08:27:00 +02:00
..