Commit d5c268ff authored by Scott Vokes's avatar Scott Vokes
Browse files

Check remaining time during send/poll loop. Use clock_gettime if available.

clock_gettime(CLOCK_MONOTONIC, &timespec) will be durable across time
changes. If it's not available, or the call has specified that that level
of accuracy is not needed, it will use regular gettimeofday.
parent 21cbdfb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment