mirror of
https://github.com/qgis/QGIS.git
synced 2025-07-01 00:02:20 -04:00
Since the underlying libspatialindex is not thread safe on some platforms (e.g. Windows), manual calls to detach() must be made if a QgsSpatialIndex is to be accessed across multiple threads. Note that for platforms on which libspatialindex is thread safe, calling detach() has no effect and does not force the deep copy.