<div dir="auto">If the purpose of multithreading is performance, a mutex will ruin that performance.<div dir="auto">Opening different datasets solves that already.</div><div dir="auto"><br></div><div dir="auto">For writing, allowing different synchronous writers is... scary.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 3 Jun 2024, 16:12 Chris Toney via gdal-dev, <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew,<div>Some related comments and links are in:</div><div><a href="https://github.com/OSGeo/gdal/issues/9091" target="_blank" rel="noreferrer">https://github.com/OSGeo/gdal/issues/9091</a><br></div><div><br></div><div>Chris</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2024 at 7:44 AM Andrew Bell via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am aware that there isn't thread-safe raster access with the current GDAL interface for various reasons. Given the state of processors, I was wondering if it would be valuable to take a look at providing the ability to do Raster I/O (at least reads) in a thread-safe way. This could be done through a new set of API calls or perhaps by modifications to what currently exists -- I don't know what makes sense at this point. I would be happy to spend some time looking at this if there is interest, but I would also like to learn from existing experience as to what kinds of things that I'm surely not considering would have to be dealt with.<br><br>Thanks,<br><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank" rel="noreferrer">andrew.bell.ia@gmail.com</a></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>