comparison admin/FOR-RELEASE @ 69056:3a62e61ef09c

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Mon, 20 Feb 2006 22:30:21 +0000
parents 43656cd3b1ab
children 542b9be4c5e3
comparison
equal deleted inserted replaced
69055:43656cd3b1ab 69056:3a62e61ef09c
45 45
46 TCP/IP server processes created with `make-network-process' consume 46 TCP/IP server processes created with `make-network-process' consume
47 excesive CPU on some Windows environments. Usages of 50% and 100% 47 excesive CPU on some Windows environments. Usages of 50% and 100%
48 CPU time have been observed on different Window XP configurations. 48 CPU time have been observed on different Window XP configurations.
49 Seems to be a problem in sys_select in w32proc.c. 49 Seems to be a problem in sys_select in w32proc.c.
50
51 In its current form, it sys_select says the socket is ready, so we
52 call server_accept_connection which again calls accept() which returns
53 -1 with errno == WSAEWOULDBLOCK (10035) indicating that there is no
54 pending connection to accept.
55
56 I [KFS] investigated it a little bit and found that it seems that w32 server
57 sockets must use WSAAsyncSelect + FD_ACCEPT to request notifications
58 of incoming connections -- but exactly how that is done is not for me
59 to look at...
60
50 61
51 * DOCUMENTATION 62 * DOCUMENTATION
52 63
53 ** Add a node to the Lisp manual describing key sequences from the 64 ** Add a node to the Lisp manual describing key sequences from the
54 Lisp point of view. 65 Lisp point of view.