Hi,

The 4.8.7 QSharedMemory documentation mentions that a race condition can occur 
on QNX if you don't `create()` the segment before trying to `attach()` to it.
FWIW, I had some code on OS X using QSharedMemory instances, where the 
initialisation routine attempted an `attach()` first and did a `create()` if 
that attempt failed. This also led to a race condition, ultimately.

I see that race conditions are no longer mentioned in the Qt 5.4 documentation; 
does one still need to do a `create()` and an `attach()` only if `create()` 
fails because the resource already exists?

R.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to