Skip to content

lib/model: Use read-locks wherever possible - #6005

Merged
calmh merged 1 commit into
syncthing:masterfrom
imsodin:model/someLocks
Sep 12, 2019
Merged

calmh merged 1 commit into
syncthing:masterfrom
imsodin:model/someLocks

Conversation

@imsodin

@imsodin imsodin commented Sep 10, 2019

Copy link
Copy Markdown
Member

These are the (probably) save, uncontroversial and most important changes from #5975: Replace write-locks with read-locks where possible and update device statistic references in CommitConfiguration to get rid of the write-lock when just lookup up the reference.

@imsodin imsodin changed the title lib/model: Use read-locks whereever possible lib/model: Use read-locks wherever possible Sep 10, 2019
@calmh
calmh merged commit f7b2e79 into syncthing:master Sep 12, 2019
@imsodin
imsodin deleted the model/someLocks branch September 16, 2019 20:30
@calmh calmh added this to the v1.3.1 milestone Oct 7, 2019
imsodin added a commit to imsodin/syncthing that referenced this pull request Nov 8, 2019
AudriusButkevicius pushed a commit that referenced this pull request Nov 8, 2019
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Sep 11, 2020
@syncthing syncthing locked and limited conversation to collaborators Sep 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants