src/server/daemon/event_solaris.c

changeset 161
aadda87bad1b
parent 153
85320d8b5d5c
child 162
b169992137a8
equal deleted inserted replaced
160:389bd0e1ffa9 161:aadda87bad1b
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