Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add multithreding support to HardwareSerial #7459

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

Closed
slavaza wants to merge 9 commits into arduino:master from slavaza:master
Closed

Add multithreding support to HardwareSerial #7459

slavaza wants to merge 9 commits into arduino:master from slavaza:master

Conversation

Copy link

@slavaza slavaza commented Apr 12, 2018

This fix will allow use HardwareSerial driver in simple multithreading applications.

slavaza added 9 commits April 12, 2018 19:49
This fix will allow use HardwareSerial driver in simple multithreading applications.
This simplest library implement iterative multithreading functionality. Allow create and switch the quasi-parallel tasks by yield() function call or 1 ms quantum of time elapsed.
Copy link
Member

583e7d1 could make sense, while including a whole new library (Thread in this case) is not going to happen 🙂
If you could move the PR (or, better, only the first commit) to https://github.com/arduino/ArduinoCore-avr it would help, thanks!

@facchinm facchinm added Waiting for feedback More information must be provided before we can proceed Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug labels Apr 13, 2018
Copy link
Author

slavaza commented Apr 13, 2018
edited
Loading

@facchinm Well I will do as you said. I thought that such a simplification as the library "Tread.h" might have interested you and users. I could not do it more simply, if it possible in principle.

Copy link
Author

slavaza commented Apr 13, 2018

Excuse me, please. I discovered strange unexpected editing error what I removed in commits to ArduinoCore-avr. My code works good and I planning use it for toys in future.

@per1234 per1234 added Component: Core Related to the code for the standard Arduino API feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic and removed Waiting for feedback More information must be provided before we can proceed labels Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Component: Core Related to the code for the standard Arduino API feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /