Quote Originally Posted by QtCrawler View Post
no, i mean not creating all values. i mean creating the qmap for the key.
Yes, that is what I meant.
You would start with the hash fully "populated" but each entry would be an empty QAtomicPointer, no?

If you need to dynamically add to "hash", then you need to protect access to it with a mutex, as yeye_olive explained.

Cheers,
_