-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Append simple multithreading support #12
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
base: master
Are you sure you want to change the base?
Conversation
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.
From the comment on the previous PR (arduino/Arduino#7459 (comment)). It sounds like there is possible interest in your commit to add the By bundling the two only loosely related commits together in a single pull request you make it less likely that the first will be merged. It seems like the best approach for the second is to simply publish the library in a repository of your own and then Arduino users can install it if they like. You can make it even easier to install and more visible by requesting its addition to the Arduino Library Manager index. |
@per1234 You have the right to do what you want as developers. I just offered my solution, wanting to play with Arduino. Yes I will try to publish this library separately. I do not search popularity. I just want improve your project that I liked. |
Remove strange unexpected error of edit stage.
Removing incorrect words in comments
Fix incorrect URL of this library
Changed approach to F_CPU to be user-defined
This is a well-tested algorithm in other applications. For the Arduino not tested yet. With the love of art.
Adding a lost parenthesis.
Deleting of the not relevant comment.
Correction of a silly typo.
|
This small improvement will allow the use of multitasking programming techniques on the smallest Arduino models. It implements iterative multitasking with execution time quantization.