What happens when in one thread write and in second thread read the same object? It would lead to application crash?
My idea is, on main thread save the data in to object or change the data from object and on second thread only read this data.
If I understand, the problem can be only while writing to object new value and reading in same time from same object, reading value will be old. But this is not problem for me.
I search my question and found this topic What happens if two threads read & write the same piece of memory but I am not sure if it apply for my question.