Skip to content

Currently using of iterator and assign. #50

@justphilipp

Description

@justphilipp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions