Mercurial > emacs
view lwlib/lwlib-Xaw.h @ 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 | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
line wrap: on
line source
#ifndef LWLIB_XAW_H #define LWLIB_XAW_H #include "lwlib-int.h" extern widget_creation_entry xaw_creation_table []; Widget xaw_create_dialog __P ((widget_instance*)); Boolean lw_xaw_widget_p __P ((Widget)); void xaw_update_one_widget __P ((widget_instance *, Widget, widget_value *, Boolean)); void xaw_update_one_value __P ((widget_instance *, Widget, widget_value *)); void xaw_destroy_instance __P ((widget_instance *)); void xaw_popup_menu __P ((Widget, XEvent *)); void xaw_pop_instance __P ((widget_instance *, Boolean)); #endif /* LWLIB_XAW_H */ /* arch-tag: 7c0fb4de-afd9-4112-9214-24b663cc1870 (do not change this comment) */