… | … | ||
---|---|---|---|
85 | struct timespec ts; | 85 | struct timespec ts; |
86 | uint_t nget = 1; | 86 | uint_t nget = 1; |
87 | 87 | ||
88 | EV_RELEASE_CB; | 88 | EV_RELEASE_CB; |
89 | ts.tv_sec = (time_t)timeout; | 89 | ts.tv_sec = (time_t)timeout; |
90 | ts.tv_nsec = (long)(timeout - (ev_tstamp)ts.tv_sec) * 1e9; | 90 | ts.tv_nsec = ((long)(timeout - (ev_tstamp)ts.tv_sec) * 1e9); |
91 | res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts); | 91 | res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts); |
92 | EV_ACQUIRE_CB; | 92 | EV_ACQUIRE_CB; |
93 | 93 | ||
94 | if (res == -1) | 94 | if (res == -1) |
95 | { | 95 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |