Skip to content

The main refactoring#445

Open
exxbrain wants to merge 9 commits intoyegor256:masterfrom
exxbrain:master
Open

The main refactoring#445
exxbrain wants to merge 9 commits intoyegor256:masterfrom
exxbrain:master

Conversation

@exxbrain
Copy link
Copy Markdown

@exxbrain exxbrain commented Oct 24, 2019

Another idea is to make read-write lock in the FileWithContent. It should be possible to read a file by multiple threads while it is not saving and save while it’s not reading or saving.

Try to spend 15 minutes maximum for the entire work. If you need more time, you're doing something wrong. Remember, you have to do just the first step in refactoring. Don't fix everything.

Sorry. For me it was easier to fix than write.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant