cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Intel(R) Thread Checker report

From: Domenico Andreoli <cavokz_at_gmail.com>
Date: Wed, 20 Jun 2007 15:25:29 +0200

On Wed, Jun 20, 2007 at 10:26:13AM +0200, Gerrit Bruchhäuser wrote:
> Hi,

Hi,

> according to Intel(R) Thread Checker, incrementing/decrementing shared
> data of i.e. type 'volatile unsigned int' is not thread safe. So I got a lot
> of error reports from the tool within libcurl.

Indeed "volatile" does not help at all with thread safety. Daniel,
are you using it anywhere?

cheers
domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2007-06-20