emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: process.c changes causes problem with JDEbug of the JDE package


From: Kim F. Storm
Subject: Re: process.c changes causes problem with JDEbug of the JDE package
Date: 30 Jan 2004 16:01:35 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Kastrup <address@hidden> writes:

> Uh, accept-process-output does not guarantee that you get any output
> that the process has not yet managed to produce.  This looks like
> jde-dbs.el contains a definite race condition.

So is there a bug in process-adaptive-read-buffering, or not?

> 
> Unless at that point of time the process has already finished and
> jde-dbs knows about that.  In that case there would be no point for
> process-adaptive-read-buffering to hold back any input anymore.

When does it do that?

> 
> Also it might be an idea to reset the timers for adaptive read
> buffering not only when one is writing to the process, but also when
> one is starting it, and of course after it has finished.

IIRC, that's what it is doing already -- timers are reset by
start-process and on write, and the process is ignored in adaptive
read buffering after it has been deactivated.

> 
> That way, typical interactive applications will never see an adverse
> effect from adaptive read buffering.

Have you observed such effects?

I'm probably overlooking something obvious...

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]