cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: [PATCH] add some locking for thread-safety to NSS implementation
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Sep 2008 14:11:06 +0200 (CEST)
On Tue, 16 Sep 2008, Dan Fandrich wrote:
> There looks to me like there's still a race condition in there. If a thread
Right, shouldn't the variable be set to 0 before the unlock?
> Also, initialized should be made volatile.
It should most probably indeed, as I bet it can cause race condition problems
-- / daniel.haxx.seReceived on 2008-09-18
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info