-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Added support for modular scheduler in C runtime #743
Conversation
Using a still new and very rough but functional multi-threaded scheduler
…tem properties to select a specific scheduler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me, but I got really stuck while reviewing the changes in ReactionInstanceGraph
...
org.lflang/src/org/lflang/generator/python/PythonGenerator.xtend
Outdated
Show resolved
Hide resolved
76dec70
to
b65274a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lhstrh and I have made a pass over this and I believe it is ready to merge. The c-new-scheduler branch of reactor-c should be merged first and then the reactor-c pointer updated to point to reactor-c/main.
This PR adds the bare-minimum ability to change the runtime scheduler when supported.
The main features of this PR are:
scheduler
target property-s
and--scheduler
lfc command-line argumentsPlease see the PR in reactor-c for more details about the schedulers themselves.
c-tests.yml
so that caller can specify which scheduler to use