extension request: preemptive multithreading lib for M0, M3, M4 (like std::thread, ftrias/TeensyThreads, ESP32)

Open
#91 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
arduino, cpp
Domain
embedded-iot

Research direction

Start by reviewing the requested std::thread-style behavior and the linked ftrias/TeensyThreads library, then compare its assumptions with Arduino/Adafruit cores for M0, M3, and M4. Done would mean a supported preemptive multithreading implementation for those cores, but the issue does not identify files or tests.

Written by the indexing model from the issue text.

Description

hi,
coincidentally I found the lib ftrias/TeensyThreads https://github.com/ftrias/TeensyThreads, unfortunately working just for Teensys.
IIUC, it's not trivial to port that preemptive multithreading lib to standard Arduinos... :(
So what would be realy awesome is if there was such a std::thread implementation available for M0, M3, M4 Arduino/Adafruit cores!

Dominant language
C++
Stars
306
Forks
150
PR merge metrics
No merged PRs in 30d

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.

More from arduino/ArduinoCore-API

All issues in arduino/ArduinoCore-API

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.