pocl icon indicating copy to clipboard operation
pocl copied to clipboard

remote: Rework reconnection code

Open jansol opened this issue 1 year ago • 2 comments

Apparently the old reconnection code was reliant on undefined behaviour that does not work very well on Linux, which became apparent while benchmarking reconnection. Implemented a more correct solution with pipes for signaling between thread pairs instead, as well as a couple of drive-by fixes.

jansol avatar Jun 20 '24 15:06 jansol

I'll see about a proper explanation of the socket thread logic later, possibly as a follow-up PR.

jansol avatar Jun 20 '24 16:06 jansol

Pls rebase.

pjaaskel avatar Jul 12 '24 09:07 pjaaskel