Mercurial > emacs
comparison lisp/textmodes/texnfo-upd.el @ 71889:2385a5c8186c
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.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 14 Jul 2006 09:29:32 +0000 |
parents | 067115a6e738 |
children | e3694f1cb928 c5406394f567 |
comparison
equal
deleted
inserted
replaced
71888:f07726615400 | 71889:2385a5c8186c |
---|