On Tue, Nov 28, 2023 at 3:22 PM Breno Guimarães wrote:
>
> When I spawn a thread and it freeze, I usually just debug my code.
Debug writing into a TCP socket across the internet, with the TCP
segments arriving at the far computer and being sent out an RS232
port, waiting for a reply and sending it back into the TCP socket.
Before engaging in this debugging exercise, perhaps make a finite list
of all the things that can go wrong. You'll need a few reams of paper.
"Just change the C++ standard" is not an appropriate course of action though.