|
|
Kuba Ober wrote:
...
On the other hand, how do you know if the image generator is ready in
producing a frame? You somehow need to flag the other process, if you don't
>> ...
Besides that the producer could just be in the process of writing the
image when the consumer tries to read it without signaling/blocking. In
the best case you get a garbage image then and when, in the worst case
you crash your app (if QPixmap/QImage is not clever enough to detect
bogus data).
But we knew that already since Dijkstra about 30 years ago, didn't we... ;))
Good night, Oliver
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|