Giuseppe D'Angelo wrote: > If you have QVector<Foo> v; , and > > thread 1 does v[5] = ...; > thread 2 does QVector<Foo> copy = v; > > without synchronizations, then you have a data race since QVector is only > reentrant.
Of course you would. You would have a data race there even without CoW.
Kevin Kofler
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
