This PR adds a new class to manage threads - #11
Merged
Conversation
mmmarinho
requested changes
Aug 30, 2026
mmmarinho
left a comment
Member
There was a problem hiding this comment.
Thanks for the submission. Some suggestions!
… all cases. Furthermore, added more details about the enum class
juanjqo
marked this pull request as draft
August 30, 2026 22:43
juanjqo
marked this pull request as ready for review
August 30, 2026 23:52
Contributor
Author
|
Hi @mmmarinho. I implemented all modifications! |
mmmarinho
requested changes
Aug 31, 2026
juanjqo
marked this pull request as draft
September 1, 2026 09:01
Contributor
Author
|
Hi, @mmmarinho, I updated the implementation taking into account your comments. Kind regards, Juancho |
juanjqo
marked this pull request as ready for review
September 1, 2026 22:01
mmmarinho
requested changes
Sep 3, 2026
Contributor
Author
|
@mmmarinho, it's ready for the next round! |
mmmarinho
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @mmmarinho,
This PR adds the class
sas::thread_manager(codename: loopancho) to manage threads. The main motivation is the standardisation of the SAS drivers (at least in the Adorno-lab::RAICo projects), which currently implement custom threads. This class is experimental, since I haven't tested it yet with real platforms. It is the first version and we can improve it.Current features:
sas::Clockfor time computations.Please let me know what you think and whether the design aligns with what you have in mind.
Minimal example
CMake
output
Kind regards,
Juancho