src/server/daemon/event_solaris.c

changeset 153
85320d8b5d5c
parent 133
87b405d61f64
child 159
9ba9f8befa80
child 161
aadda87bad1b
equal deleted inserted replaced
152:8b85c5face66 153:85320d8b5d5c
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