Programming Blog

Implicit Sharing and Multi-Threading Problems

2012-07 Update

It seems I have misunderstood the Qt documentation on implicit sharing, and for good reason: it is not very clear. After asking a question about this at the Qt Wiki (I can't find it now or I would link it) I was told that the key to understanding this was that a copy of an implicitly shared object must be made with mutex protection, but the copy could be modified by another thread without using a mutex. …

© James S. Gibbons 1987-2015