src/server/daemon/event_solaris.c

changeset 155
36cd2e280386
parent 153
85320d8b5d5c
child 159
9ba9f8befa80
child 161
aadda87bad1b
equal deleted inserted replaced
154:6394ce09889a 155:36cd2e280386
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