Date: Thu, 30 Nov 2023 09:23:50 +0000
On Thu, Nov 30, 2023 at 7:15 AM Thiago Macieira wrote:
>
> That is not a freeze, AT ALL. The scp process is simply waiting on the ability
> to send more. I don't know if it has timeouts by default, but that's a
> limitation of scp instead of TCP or the OS. It should react to Ctrl+C and be
> killable anyway. And the terminal application is not stuck.
It doesn't react to Ctrl+C. This isn't all about the one use case I
put forward of threads freezing. In embedded systems you could have an
object managing an RS232 connection or a bus, and it gets screwed up
and you want to discard it without going through the normal shutdown
procedure.
>
> That is not a freeze, AT ALL. The scp process is simply waiting on the ability
> to send more. I don't know if it has timeouts by default, but that's a
> limitation of scp instead of TCP or the OS. It should react to Ctrl+C and be
> killable anyway. And the terminal application is not stuck.
It doesn't react to Ctrl+C. This isn't all about the one use case I
put forward of threads freezing. In embedded systems you could have an
object managing an RS232 connection or a bus, and it gets screwed up
and you want to discard it without going through the normal shutdown
procedure.
Received on 2023-11-30 09:24:03