Lines Matching refs:wait_ms
2719 unsigned wait_ms;
2965 wait_ms = COAP_RESOURCE_CHECK_TIME * 1000;
2972 * Using epoll. It is more usual to call coap_io_process() with wait_ms
2983 tv.tv_sec = wait_ms / 1000;
2984 tv.tv_usec = (wait_ms % 1000) * 1000;
3009 result = coap_io_process(ctx, wait_ms);
3013 } else if (result && (unsigned)result < wait_ms) {
3015 wait_ms -= result;
3018 * result == 0, or result >= wait_ms
3019 * (wait_ms could have decremented to a small value, below
3023 wait_ms = COAP_RESOURCE_CHECK_TIME * 1000;
3036 /* need to wait until next second starts if wait_ms is too large */
3039 if (next_sec_ms && next_sec_ms < wait_ms)
3040 wait_ms = next_sec_ms;