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

Comparing libev/ev_port.c (file contents):
Revision 1.21 by root, Fri Oct 15 22:44:41 2010 UTC vs.
Revision 1.22 by root, Sat Oct 16 00:59:56 2010 UTC

1/* 1/*
2 * libev solaris event port backend 2 * libev solaris event port backend
3 * 3 *
4 * Copyright (c) 2007,2008,2009 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libev@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
109 fd, 109 fd,
110 (port_events [i].portev_events & (POLLOUT | POLLERR | POLLHUP) ? EV_WRITE : 0) 110 (port_events [i].portev_events & (POLLOUT | POLLERR | POLLHUP) ? EV_WRITE : 0)
111 | (port_events [i].portev_events & (POLLIN | POLLERR | POLLHUP) ? EV_READ : 0) 111 | (port_events [i].portev_events & (POLLIN | POLLERR | POLLHUP) ? EV_READ : 0)
112 ); 112 );
113 113
114 port_associate_and_check (EV_A_ fd, anfds [fd].events); 114 fd_change (EV_A_ fd, EV__IOFDSET);
115 } 115 }
116 } 116 }
117 117
118 if (expect_false (nget == port_eventmax)) 118 if (expect_false (nget == port_eventmax))
119 { 119 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines