changeset 71903:401abc709b9c

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Fri, 14 Jul 2006 15:04:08 +0000
parents 967a56f9d307
children 3c4d5f633102
files etc/ChangeLog src/ChangeLog
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Fri Jul 14 15:03:52 2006 +0000
+++ b/etc/ChangeLog	Fri Jul 14 15:04:08 2006 +0000
@@ -1,7 +1,11 @@
+2006-07-14  Kim F. Storm  <storm@cua.dk>
+
+	* PROBLEMS: Emacs now requires ws2_32.dll on Windows.
+
 2006-07-14  K,Aa(Broly L,Bu(Brentey  <lorentey@elte.hu>
 
 	* HELLO: Update Hungarian sample.
-	
+
 2006-07-12  Michael Olson  <mwolson@gnu.org>
 
 	* ERC-NEWS: Update for ERC 5.1.3.
--- a/src/ChangeLog	Fri Jul 14 15:03:52 2006 +0000
+++ b/src/ChangeLog	Fri Jul 14 15:04:08 2006 +0000
@@ -1,3 +1,19 @@
+2006-07-14  Kim F. Storm  <storm@cua.dk>
+
+	* 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  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open.