diff options
| author | Kim F. Storm | 2006-07-14 09:32:14 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-14 09:32:14 +0000 |
| commit | ceb53a12f007c30185e5cf86ffec6c073883bbee (patch) | |
| tree | 37308a47d72b0201501ff79aca63ff3d94912c27 /admin | |
| parent | 8a8476f9849c6bf620d370b4e72d4fedc9b5db3f (diff) | |
| download | emacs-ceb53a12f007c30185e5cf86ffec6c073883bbee.tar.gz emacs-ceb53a12f007c30185e5cf86ffec6c073883bbee.zip | |
(BUGS): High cpu load on windows server sockets fixed.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/FOR-RELEASE | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 853fdc9d3bf..bd9034b19e8 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -41,21 +41,6 @@ and KDE projects, to use the new Emacs icons in etc/images/icons. | |||
| 41 | '(hscroll-step 1) | 41 | '(hscroll-step 1) |
| 42 | ) | 42 | ) |
| 43 | 43 | ||
| 44 | ** TCP server processes do not work on Windows. | ||
| 45 | |||
| 46 | TCP/IP server processes created with `make-network-process' consume | ||
| 47 | excesive CPU on some Windows environments. Usages of 50% and 100% | ||
| 48 | CPU time have been observed on different Window XP configurations. | ||
| 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 | It seems that to fix this, w32 server sockets must use WSAAsyncSelect | ||
| 57 | + FD_ACCEPT to request notifications of incoming connections... | ||
| 58 | |||
| 59 | 44 | ||
| 60 | * DOCUMENTATION | 45 | * DOCUMENTATION |
| 61 | 46 | ||