junction
junction copied to clipboard
Currently using of iterator and assign.
While I am applying get() and assign() operations to LinearMap concurrently, deadlock always occurs with 4 thread. Then I checked readme, the Rules and Behavior said that
- All of a Junction map's member functions, together with its Mutator member functions, are atomic with respect to each other, so you can safely call them from any thread without mutual exclusion.
- In the current version, you must not assign while concurrently using an Iterator.
Above two entries seem contradict each other.