[Development] Question about QCoreApplicationData::*_libpaths

Marc Mutz marc.mutz at kdab.com
Fri Jan 22 10:48:48 CET 2016


On Friday 22 January 2016 01:31:20 Kevin Kofler wrote:
> Marc Mutz wrote:
> > Ivan was talking about thread-safe classes. You need to lock a mutex to
> > take the copy.
> 
> Returning a QMap instead of a std::shared_ptr<std::map> would be perfectly
> thread-safe there. 

Wrong.

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list