Experimenting with different granularities of locking on a data structure that is shared among many threads.
The data structure I am experimenting with is a simple n x n array of numbers. The invariant is that the sum of all entrees in the grid remain the same.