On Monday 17 November 2014 12:54:59 René J.V. Bertin wrote: > Out of curiosity: is QEventLoopLocker thread-safe? That is, can the lock be > set (increased aka reference counter increment) in a background thread and > unset (decreased aka reference counter decrement) in the main thread? This > happens in KDevelop 4 because it creates (or starts) KJobs in background > threads but deletes the objects in the main thread, and at least in KDE 4 > it is written nowhere that that is "not done".
Yes, it's thread-safe. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest