What's the best pattern for making datasets threadsafe on write?
The best I can find by googling is 'implement a wrapper layer with locks' but at first blush this seems rather messy.
Can someone recommend / point me in the direction of a good solution to this? It seems likely to be a problem that has already been solved somewhere.
edit: I also need to bind the dataset to a ui grid, which complicates matters somewhat.