[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5723: 23.1.94; make-network-process and emacs hangs
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#5723: 23.1.94; make-network-process and emacs hangs |
Date: |
Fri, 19 Mar 2010 19:21:43 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Fri, 19 Mar 2010 07:41:54 +0100, Helmut Eller <eller.helmut@gmail.com>
>>>>> said:
>> The current code closes the socket and call `connect' again if
>> (blocking) `connect' is interrupted by a signal.
>>
>> 2004-11-09 Kim F. Storm <storm@cua.dk>
>>
>> * process.c (Fmake_network_process): Remove kludge for interrupted
>> connects on BSD. If connect is interrupted, just close socket and
>> start over rather than sleeping and retry with same socket.
>>
>> (http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.443&r2=1.444)
>>
>> UNIX Network Programming (Richard Stevens et al.) says "What we must
>> do in this scenario is call /select/" (Section 16,5, Volume 1 third
>> edition).
(snip)
>> Perhaps we should try this, not just removing `turn_on_atimers' calls.
> I had reported that already in
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5173
> but was silently ignored.
Oh, I didn't notice that.
I think the essential part of the suggested code, as well as the
removal of turn_on_atimers calls, should go to the trunk for further
testing on various platforms. Maintainers, what do you think?
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
- bug#5723: 23.1.94; make-network-process and emacs hangs, (continued)
- bug#5723: 23.1.94; make-network-process and emacs hangs, Dan Nicolaescu, 2010/03/15
- bug#5723: 23.1.94; make-network-process and emacs hangs, Stefan Monnier, 2010/03/15
- bug#5723: 23.1.94; make-network-process and emacs hangs, Helmut Eller, 2010/03/15
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/15
- bug#5723: 23.1.94; make-network-process and emacs hangs, Leo, 2010/03/17
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/17
- bug#5723: 23.1.94; make-network-process and emacs hangs, Helmut Eller, 2010/03/18
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/18
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/18
- bug#5723: 23.1.94; make-network-process and emacs hangs, Helmut Eller, 2010/03/19
- bug#5723: 23.1.94; make-network-process and emacs hangs,
YAMAMOTO Mitsuharu <=
- bug#5723: 23.1.94; make-network-process and emacs hangs, Stefan Monnier, 2010/03/19
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/19
- bug#5723: 23.1.94; make-network-process and emacs hangs, Leo, 2010/03/20
- bug#5723: 23.1.94; make-network-process and emacs hangs, Chong Yidong, 2010/03/24
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/24
- bug#5723: 23.1.94; make-network-process and emacs hangs, Chong Yidong, 2010/03/24
- bug#5723: 23.1.94; make-network-process and emacs hangs, Leo, 2010/03/18
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/17
- bug#5723: 23.1.94; make-network-process and emacs hangs, Leo, 2010/03/18
- bug#5723: 23.1.94; make-network-process and emacs hangs, YAMAMOTO Mitsuharu, 2010/03/18