[Gdal-dev] multiple threads - VSIMemFileSystemHandler and nCacheUsed

list67 at netscape.net list67 at netscape.net
Tue Jan 10 15:24:40 EST 2006


Hi.

I read in the FAQ that GDAL is not completely threadsafe, so this info might be insignficant.

The Intel Thread Checker is reporting "read/write data race" errors when run with a program that has multiple threads which call VSIFileFromMemBuffer(..), GDALOpen, VSIUnlink, etc. (all for reading rasters).

Many of the errors seem to be related to the accessing of the VSIMemFileSystemHandler's oFileList data member.

There are other errors reported with the accessing of the nCacheUsed data member from gdalrasterblock.cpp.

I'm using a CVS version of GDAL from December 28, 2005.

Are these particular errors to be expected, or is it probably the case that errors are the result of the program using GDAL incorrectly?

Thank you for your time.

    Mike

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the Gdal-dev mailing list