Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The main refactoring #445

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

The main refactoring #445

wants to merge 9 commits into from

Conversation

exxbrain
Copy link

@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