Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
They may access/modify data simultaneously.
For example, it's possible that the model is deleting data while the view is accessing deleted data. But with a lock, the view becomes slower, and it locked data frequently.
What's the proper way?
Are you using multiple threads?
@VRonin said in Need lock for model and view?:
Maybe. Posting event to the UI thread seems a good solution.