src/server/daemon/event_solaris.c

changeset 162
b169992137a8
parent 161
aadda87bad1b
child 193
aa8393527b1e
equal deleted inserted replaced
161:aadda87bad1b 162:b169992137a8
156 } 156 }
157 157
158 int ev_pollout(event_handler_t *h, int fd, event_t *event) { 158 int ev_pollout(event_handler_t *h, int fd, event_t *event) {
159 event->object = (intptr_t)fd; 159 event->object = (intptr_t)fd;
160 event->events = POLLOUT; 160 event->events = POLLOUT;
161 event->poll EVENT_POLLOUT; 161 event->poll = EVENT_POLLOUT;
162 return port_associate( 162 return port_associate(
163 ev_get_port(h), 163 ev_get_port(h),
164 PORT_SOURCE_FD, 164 PORT_SOURCE_FD,
165 (uintptr_t)fd, 165 (uintptr_t)fd,
166 POLLOUT, 166 POLLOUT,

mercurial