curl-library
Re: Mysterious random crash demystified.
From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 13 Oct 2004 20:13:59 +0200
Date: Wed, 13 Oct 2004 20:13:59 +0200
"Traian Nicolescu" wrote:
> Well, now that I've wasted both our time with an improperly researched
> suggestion, may I suggest a fallback to the mutex idea through the
> following patch?
I've added and tested your patch and it looks very good. Haven't found any
problems yet. But I'm always on the edge when I see things like:
WaitForSingleObject(td->thread_hnd, INFINITE);
Can we be 100% sure it never blocks indefinetely (waiting for the thread)
in extreme cases?
--gv
Received on 2004-10-13