Lines Matching defs:timeout
63 int uv__epoll_wait(struct epoll_event* events, int eventsize, uint64_t timeout) {
67 nfds = ffrt_epoll_wait(qos, events, eventsize, timeout);
1381 void uv__io_poll(uv_loop_t* loop, int timeout) {
1419 assert(timeout >= -1);
1422 real_timeout = timeout;
1426 user_timeout = timeout;
1427 timeout = 0;
1470 /* Only need to set the provider_entry_time if timeout != 0. The function
1473 if (timeout != 0)
1476 /* Store the current timeout in a location that's globally accessible so
1480 lfields->current_timeout = timeout;
1483 nfds = epoll_pwait(epollfd, events, ARRAY_SIZE(events), timeout, sigmask);
1485 nfds = uv__epoll_wait(events, ARRAY_SIZE(events), timeout);
1488 nfds = epoll_pwait(epollfd, events, ARRAY_SIZE(events), timeout, sigmask);
1492 * timeout == 0 (i.e. non-blocking poll) but there is no guarantee that the
1500 /* Unlimited timeout should only return with events or signal. */
1501 assert(timeout != -1);
1505 timeout = user_timeout;
1511 /* Interrupted by a signal. Update timeout and poll again. */
1599 timeout = user_timeout;
1620 timeout = 0;
1627 if (timeout == 0)
1630 if (timeout == -1)
1633 assert(timeout > 0);
1639 timeout = real_timeout;