[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Avoid spin loop in socket_read() when debug cl
From: |
Evan Hanson |
Subject: |
[Chicken-hackers] [PATCH] Avoid spin loop in socket_read() when debug client disconnects |
Date: |
Thu, 14 Mar 2019 21:58:04 +1300 |
Hi all,
Here's a tiny patch that makes the debug server end the program when a
client disconnects unexpectedly, i.e. without first sending a terminate
signal. Currently, the program will instead go into an infinite loop and
burn 100% of a CPU until it's killed.
Cheers,
Evan
0001-Avoid-spin-loop-in-socket_read-when-debug-client-dis.patch
Description: Text Data
- [Chicken-hackers] [PATCH] Avoid spin loop in socket_read() when debug client disconnects,
Evan Hanson <=