lincketheo / lincketheo/sentinet_cpp

Replace std::promises with atomic<bool>

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

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We need to remove all std::futures being passed in control client and proxy so that we can replace then with atomic types.

The reason. I need to uniquely identify threads on cc, and promises seem to make this too complex. I'd like to switch to using promises on pipes instead.

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 control client and proxy code that passes std::future or std::promise values, then review how promises on pipes are intended to replace them. Done means those futures are removed from the control client and proxy and replaced with atomic types, with thread identification on cc still supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
robotics
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.