ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.266 by root, Fri Oct 24 08:15:33 2008 UTC vs.
Revision 1.268 by root, Mon Oct 27 13:39:18 2008 UTC

450{ 450{
451 WL head; 451 WL head;
452 unsigned char events; 452 unsigned char events;
453 unsigned char reify; 453 unsigned char reify;
454 unsigned char emask; /* the epoll backend stores the actual kernel mask in here */ 454 unsigned char emask; /* the epoll backend stores the actual kernel mask in here */
455 unsigned char unused; /* currently unused padding */ 455 unsigned char egen; /* generation counter to counter epoll bugs */
456#if EV_SELECT_IS_WINSOCKET 456#if EV_SELECT_IS_WINSOCKET
457 SOCKET handle; 457 SOCKET handle;
458#endif 458#endif
459} ANFD; 459} ANFD;
460 460
806 806
807 for (fd = 0; fd < anfdmax; ++fd) 807 for (fd = 0; fd < anfdmax; ++fd)
808 if (anfds [fd].events) 808 if (anfds [fd].events)
809 { 809 {
810 anfds [fd].events = 0; 810 anfds [fd].events = 0;
811 anfds [fd].emask = 0;
811 fd_change (EV_A_ fd, EV_IOFDSET | 1); 812 fd_change (EV_A_ fd, EV_IOFDSET | 1);
812 } 813 }
813} 814}
814 815
815/*****************************************************************************/ 816/*****************************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines