Skip to content

feat: fix race condition in Counter using synchronization#725

Open
ipantazi wants to merge 1 commit into
mate-academy:masterfrom
ipantazi:feature/fix-counter-race-condition
Open

feat: fix race condition in Counter using synchronization#725
ipantazi wants to merge 1 commit into
mate-academy:masterfrom
ipantazi:feature/fix-counter-race-condition

Conversation

@ipantazi

@ipantazi ipantazi commented Feb 9, 2026

Copy link
Copy Markdown
  • Added synchronized to the decreaseValue() method to ensure thread safety
  • Added application log file for verification as required by task

- Added synchronized to the decreaseValue() method to ensure thread safety
- Added application log file for verification as required by task
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