* read_processs_output on closing network servers
@ 2005-08-10 2:38 Juanma Barranquero
2005-08-15 8:46 ` Kim F. Storm
0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2005-08-10 2:38 UTC (permalink / raw)
Closing a datagram server hangs up Emacs (at least on Windows), on the
call to recvfrom() on read_process_output() (process.c ~ 4799).
Now, I understand the need of calling status_notify() on closing a
server process (as any other process), but I'm not sure I understand
why status_notify() must in turn call read_process_output() while
*closing* network server processes.
Could someone please explain to me why is this necessary?
--
/L/e/k/t/u
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: read_processs_output on closing network servers
2005-08-10 2:38 read_processs_output on closing network servers Juanma Barranquero
@ 2005-08-15 8:46 ` Kim F. Storm
2005-08-15 13:47 ` Juanma Barranquero
0 siblings, 1 reply; 3+ messages in thread
From: Kim F. Storm @ 2005-08-15 8:46 UTC (permalink / raw)
Cc: Emacs Devel
Juanma Barranquero <lekktu@gmail.com> writes:
> Closing a datagram server hangs up Emacs (at least on Windows), on the
> call to recvfrom() on read_process_output() (process.c ~ 4799).
So it never returns from the recvfrom call?
Is this actually the only time you see emacs hanging there?
I would guess that if it can hang in that case, you can device other
cases (combining more processes) that would make it hang there in case
any process changes state...
>
> Now, I understand the need of calling status_notify() on closing a
> server process (as any other process), but I'm not sure I understand
> why status_notify() must in turn call read_process_output() while
> *closing* network server processes.
In what way is the network server process closed?
I agree that using delete-process should not call read_process_output
for the deleted process. I just installed a change to avoid that.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: read_processs_output on closing network servers
2005-08-15 8:46 ` Kim F. Storm
@ 2005-08-15 13:47 ` Juanma Barranquero
0 siblings, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2005-08-15 13:47 UTC (permalink / raw)
Cc: Emacs Devel
On 8/15/05, Kim F. Storm <storm@cua.dk> wrote:
> So it never returns from the recvfrom call?
That's it.
> Is this actually the only time you see emacs hanging there?
Yes.
> I would guess that if it can hang in that case, you can device other
> cases (combining more processes) that would make it hang there in case
> any process changes state...
Perhaps, but I don't know of any other case. I will report any I find,
of course.
> In what way is the network server process closed?
By calling `delete-process'.
> I agree that using delete-process should not call read_process_output
> for the deleted process. I just installed a change to avoid that.
Yeah, thanks!
Now, if you can shed some light on the other big problem with network
processes on Windows... :-)
--
/L/e/k/t/u
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-15 13:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 2:38 read_processs_output on closing network servers Juanma Barranquero
2005-08-15 8:46 ` Kim F. Storm
2005-08-15 13:47 ` Juanma Barranquero
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.