[Gdal-dev] multiple threads - VSIMemFileSystemHandler and
nCacheUsed
Frank Warmerdam
warmerdam at pobox.com
Wed Jan 11 13:02:07 EST 2006
On 1/11/06, list67 at netscape.net <list67 at netscape.net> wrote:
> Frank,
>
> The thread checker is reporting a "read/write data race" for the nCacheUsed variable, with the two sections of code being the GDALRasterBlock destructor and the GDALRasterBlock::Internalize() member function. It looks like the GDALRasterBlock::Internalize has a mutex lock, but the destructor does not.
Mike,
Right, but as I mentioned it doesn't really matter if the
nCacheUsed readers get an old value since at worst
the cache flushes a block too soon, or too late. Nothing
serious.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list