[Interest] QImage::copy threadsafe?

maitai maitai at virtual-winds.org
Fri Nov 8 18:33:52 CET 2019


Hello all,

All is in the tile, is QImage::copy threadsafe? The method is const but 
is it enough? Documentation does not state it is thread safe so I am 
wondering.

My case is I have a QImage loaded in the main thread, and many many 
threads that keep extracting small rectangles from it using 
QImage::copy. No other operations occur on the QImage once loaded.

Is it safe?

Thanks
Philippe Lelong


More information about the Interest mailing list