GNU bug report logs - #78499
tramp-accept-process-output busy-waits

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 19 May 2025 21:42:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 78499 <at> debbugs.gnu.org
Subject: bug#78499: tramp-accept-process-output busy-waits
Date: Thu, 22 May 2025 13:22:24 +0200
Daniel Colascione <dancol <at> dancol.org> writes:

Hi Daniel,

>>tramp-accept-process-output has seen several implementation iterations
>>ove the years. I'm happy, that it looks stable now.
>>
>>Could you please show a problem with the current implementation, which
>>needs to be fixed?
> .
> 100% CPU use while we're waiting to receive bytes from the peer is a
> priori a problem that needs to be fixed. Good software doesn't busy
> wait. We have a perfectly good mechanism for waiting for something to
> happen with timeouts and we shouldn't avoid them on account of years
> of accumulated changes or compatibility with ancient and irrelevant
> bugs.

"A priori" isn't a bug recipe. Pls show me a recipe indicating a
misbehavior, which needs to be fixed.

Best regards, Michael.




This bug report was last modified 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.