emacs-devel
[Top][All Lists]
Advanced

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

Re: Infinite loop in pop3-retr


From: Stefan Monnier
Subject: Re: Infinite loop in pop3-retr
Date: Tue, 31 May 2011 18:45:53 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> (defun process-alive-p (process)
>>> (memq (process-status process)
>>> '(run open listen connect)))
>> Sounds fine to me.  Tho I wonder if `stop' should be in this list.
> Hm...  probably...  when do the processes go into `stop' state?

IIUC this is the state when a process is suspended (like after a C-z).
So it can later come back to `run' state.

> And can the process be considered alive when it's in that state?

It's definitely not dead, but it's not responsive either.


        Stefan



reply via email to

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