On Thu, Dec 9, 2010 at 12:09 PM, Michael Menegakis <[email protected]> wrote:
> Are there other known conditions blocking may occur? I noticed there
> may be occasionally severe blocking if I remove a connection, e.g. I
> turn off the wireless card and turn it on again. I suspect it's
> curl_multi_perform() again though I haven't benchmarked it step by
> step again (hrm. maybe gprof might make it easier).

There's definitely very rare locking on windows that didn't occur when
I had made a version with pthreads. Any insight on what might be?

I now consider of instead of wasting the proper multi code and again
doing threading, to get the whole of the multi operation, run it in a
pthread constantly and only feed it information with a locked (mutex)
variable.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to