mirror of
https://github.com/curl/curl.git
synced 2026-07-28 13:53:07 +03:00
Internal time differences now use monotonic time source if available.
This also implies the removal of the winmm.lib dependency for WIN32.
This commit is contained in:
parent
d708ef6731
commit
19479ea021
17 changed files with 191 additions and 223 deletions
|
|
@ -184,7 +184,7 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
|
|||
return r;
|
||||
}
|
||||
|
||||
/* Avoid initial timestamp, avoid gettimeofday() call, when elapsed
|
||||
/* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
|
||||
time in this function does not need to be measured. This happens
|
||||
when function is called with a zero timeout or a negative timeout
|
||||
value indicating a blocking call should be performed. */
|
||||
|
|
@ -368,7 +368,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
|
|||
return r;
|
||||
}
|
||||
|
||||
/* Avoid initial timestamp, avoid gettimeofday() call, when elapsed
|
||||
/* Avoid initial timestamp, avoid curlx_tvnow() call, when elapsed
|
||||
time in this function does not need to be measured. This happens
|
||||
when function is called with a zero timeout or a negative timeout
|
||||
value indicating a blocking call should be performed. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue