Is there a way to listen changes in QSharedMemory chunk?
Printable View
Is there a way to listen changes in QSharedMemory chunk?
not that I am aware of, you can probably subclass and add that functionality.
In the lock method make a snapshot of the data, and in unlock, compare it, and send a signal or an event if the data has been changed.
That would be one option yes, but is there some Qt core class or something that can be used to listen changes in memory value? Like having an observer for QSharedMemory's void* content?