[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs vista build failures
From: |
Juanma Barranquero |
Subject: |
Re: Emacs vista build failures |
Date: |
Fri, 25 Jul 2008 17:40:05 +0200 |
On Fri, Jul 25, 2008 at 17:08, Lennart Borgman (gmail)
<address@hidden> wrote:
> A problem of this kind was the
> network problem with Emacs client on w32 (which took Juanma quite a while to
> solve).
Not sure what problem are you talking about; the implementation of TCP
sockets on emacsclient was stalled for a while because of a
long-standing bug in the Windows port related to server sockets, which
was solved by Kim, not me:
2006-07-14 Kim F. Storm <address@hidden>
* w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
(init_winsock): Load them. Use ws2_32.dll.
(sys_listen): Undo last change. Just set FILE_LISTEN flag.
(sys_accept): Undo last change. Instead, set child status to
STATUS_READ_ACKNOWLEDGED and reset char_avail event so next
sys_select will wakeup the reader thread.
(_sys_wait_accept): New function used by reader thread to wait for
an incoming connection on a server socket.
* w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes.
* w32proc.c (reader_thread): Use _sys_wait_accept to wait on a
server socket (FILE_LISTEN flag).
2006-07-14 Kim F. Storm <address@hidden>
* w32.c: Fix high cpu load for server sockets.
(pfn_WSAEventSelect): New function ptr.
(init_winsock): Load it.
(sys_listen): Set FILE_LISTEN flag. Set event mask for socket's
char_avail event object to FD_ACCEPT.
(sys_accept): Check FILE_LISTEN flag. Set event mask on new
socket's char_avail event object to FD_READ|FD_CLOSE.
* w32.h (FILE_LISTEN): New filedesc flag value.
Juanma
- Re: Emacs vista build failures, (continued)
- Re: Emacs vista build failures, Alan Mackenzie, 2008/07/24
- Re: Emacs vista build failures, David Kastrup, 2008/07/24
- Re: Emacs vista build failures, Richard M Stallman, 2008/07/24
- Re: Emacs vista build failures, Eli Zaretskii, 2008/07/25
- Re: Emacs vista build failures, David Kastrup, 2008/07/25
- Re: Emacs vista build failures, Lennart Borgman (gmail), 2008/07/25
- Re: Emacs vista build failures, David Kastrup, 2008/07/25
- Re: Emacs vista build failures, Lennart Borgman (gmail), 2008/07/25
- Re: Emacs vista build failures, David Kastrup, 2008/07/25
- Re: Emacs vista build failures, Lennart Borgman (gmail), 2008/07/25
- Re: Emacs vista build failures,
Juanma Barranquero <=
- Re: Emacs vista build failures, Lennart Borgman (gmail), 2008/07/25
- Re: Emacs vista build failures, Richard M Stallman, 2008/07/26
- Re: Emacs vista build failures, Stefan Monnier, 2008/07/26
- Re: Emacs vista build failures, Stefan Monnier, 2008/07/25
- Re: Emacs vista build failures, Eli Zaretskii, 2008/07/26
- Re: Emacs vista build failures, Richard M Stallman, 2008/07/25
- Re: Emacs vista build failures, Eli Zaretskii, 2008/07/26
- Re: Emacs vista build failures, Alan Mackenzie, 2008/07/26
- Re: Emacs vista build failures, David Kastrup, 2008/07/26
- Re: Emacs vista build failures, Lennart Borgman (gmail), 2008/07/26