jibrilsharafi / jibrilsharafi/AdvancedLogger

Race conditions

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
31
Forks
3
Avg merge
11m
Merged PRs (30d)
1

Description

To avoid (rare) race conditions on both file writing and serial printing, we must wrap both of these actions in a mutex with low timeout, to avoid blocking.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code paths responsible for file writing and serial printing, then inspect how those actions can overlap. Confirm the expected mutex timeout behavior and verify that both operations avoid race conditions without blocking indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.