Archived
This forum has been archived. Please start a new discussion on GitHub.
ICE(grid) and threads
I need to take care of my application data been accessed by ICE or it make them thread safe by default?
example:
This code needs to be synchronized? I need to control it explicitly?
example:
class DemoI : public Demo { protected: vector<int> data; public: DemoI(); vector<int> getData(); void setData(vector<int> data); }
This code needs to be synchronized? I need to control it explicitly?
0
Comments
-
You need to take care to synchronize access to data, see the following documents to better understand Ice threading model.
0 -
thank you xdm0