unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* FOR-RELEASE: Windows related bugs
@ 2006-06-17 22:42 Kim F. Storm
  2006-06-19  7:32 ` dhruva
  0 siblings, 1 reply; 4+ messages in thread
From: Kim F. Storm @ 2006-06-17 22:42 UTC (permalink / raw)



Would someone please look at the following Windows specific problems
which preferably should be solved before the release.


** Markus Gritsch's report about Emacs looping on Windoze with the following
emacs file, and then reduce Emacs frame width to "something quite narrow":
	(setq-default truncate-lines t)
	(custom-set-variables
	 '(hscroll-margin 20)
	 '(hscroll-step 1)
	)


** TCP server processes do not work on Windows.

TCP/IP server processes created with `make-network-process' consume
excesive CPU on some Windows environments.  Usages of 50% and 100%
CPU time have been observed on different Window XP configurations.
Seems to be a problem in sys_select in w32proc.c.

In its current form, it sys_select says the socket is ready, so we
call server_accept_connection which again calls accept() which returns
-1 with errno == WSAEWOULDBLOCK (10035) indicating that there is no
pending connection to accept.

It seems that to fix this, w32 server sockets must use WSAAsyncSelect
+ FD_ACCEPT to request notifications of incoming connections...

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-19  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-17 22:42 FOR-RELEASE: Windows related bugs Kim F. Storm
2006-06-19  7:32 ` dhruva
2006-06-19  8:01   ` Juanma Barranquero
2006-06-19  8:29     ` dhruva

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).