mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 00:36:42 -10:00
tls_cache_threads_test called tls_cache_put() with two arguments after
58ccb33 gave it a third, nonblock, and crypto-tsan-check stopped
building. The test stores to check every store landed, so it passes
false: a blocking put, as a handshake that is not nonblocking makes.
The duplex check's openssl server closed its input 1.5 s after sending
"end", and s_server shuts the connection down when its input ends. The
client sends its 60 lines 50 ms apart and then "done"; on a slow runner
the last of them were still on their way when the server shut down, so
the client finished cleanly (its 4 lines read, all of its own sent) but
the server never printed "done" and the check failed. Its input now
stays open 10 s after "end"; the server is killed a second after the
client exits, so the longer tail costs nothing. With the client's lines
slowed to 140 ms apart the old script fails the same way and the new
one passes.
crypto-tsan-check passes, and the local server matrix and the duplex
check pass.