Skip to content
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

Fix undetected scheduler and workers properties #2110

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

lsk567
Copy link
Collaborator

@lsk567 lsk567 commented Nov 20, 2023

This PR fixes the problem of the scheduler and workers target properties being ignored by the compiler. Luckily the fix was straightforward.

However, the fact that concurrent/Workers.lf does not detect this problem suggests that its implementation is insufficient, but I am not sure how to implement it correctly at the moment.

@lsk567 lsk567 requested a review from lhstrh November 20, 2023 02:50
@lsk567 lsk567 added the bug Something isn't working label Nov 20, 2023
@lsk567 lsk567 force-pushed the scheduler-and-worker-fix branch from 304a5ea to 02c7e42 Compare November 20, 2023 02:53
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain why this fix works? Also, could you have a look at the FIXMEs and see if you can resolve them?

core/src/main/java/org/lflang/generator/c/CGenerator.java Outdated Show resolved Hide resolved
@lhstrh lhstrh enabled auto-merge November 20, 2023 05:49
@lhstrh lhstrh added this pull request to the merge queue Nov 20, 2023
Merged via the queue into master with commit 485bc5e Nov 20, 2023
@lhstrh lhstrh deleted the scheduler-and-worker-fix branch November 20, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants