curl-library
Re: curl_multi_perform sometimes does not return while its thread uses1 00% cpu resources
Date: Tue, 11 Dec 2018 13:10:45 +0100 (CET)
On Tue, 11 Dec 2018, "h9791521_at_docomo.ne.jp" via curl-library wrote:
> When I call curl_multi_perform, it sometimes does not return while its
> thread uses 100% cpu resources. It happens sometimes, not always. I use
> libcurl 7.59.0 on windows.
I think you need to help out a bit more and provide us with a reproducible
example for us to understand and debug this issue.
While I can't spot any significant change done since 7.59.0 that seems likely
to have fixed such an issue, I would still urge you to try out the latest
version first before spending a lot of time hunting this down. It might
already be fixed!
> The loop happens on systems where time_t is defined to an unsigned type.
This stood out to me. Isn't Windows always using a signed time_t ?
When you build on a system with unsigned time_t, you MUST also define
HAVE_TIME_T_UNSIGNED, did you do that?
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-12-11