[Qgis-developer] Rendering Real-Time Data in QGIS

Martin Dobias wonder.sk at gmail.com
Thu Apr 30 06:46:23 EDT 2009


On Wed, Apr 29, 2009 at 10:43 PM, Florian El Ahdab <felahdab at gmail.com> wrote:
>
> I understand very well your remarks about the synchronization. However,
> since I am adding the items to the MapCanvas using the QGis API, and since
> this API doesn't seem to provide any way to synchronize the access to the
> items, I don't see how I could have the synchronization properly
> implemented. I can add all the mutexes that I want in my code, the QGis API
> won't synchronize...
>
> Did I miss something? Is there an implicit synchronization in the Qt API
> regarding the QGraphicScene?

I don't understand what do you mean by saying "QGis API won't
synchronize" as QGIS API has nothing to do with it in this case.

There is no implicit synchronization. You have to make sure that the
graphics scene is not being used concurrently in more threads.

Martin


More information about the Qgis-developer mailing list