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

Command line argument -w does not work. #1056

Closed
edwardalee opened this issue Mar 22, 2022 · 1 comment · Fixed by lf-lang/reactor-c#56 or #1060
Closed

Command line argument -w does not work. #1056

edwardalee opened this issue Mar 22, 2022 · 1 comment · Fixed by lf-lang/reactor-c#56 or #1060
Labels
bug Something isn't working c Related to C target

Comments

@edwardalee
Copy link
Collaborator

In the C target at least, the command-line argument -w does not work:

CountDoubleDestination -w 8
ERROR: Unrecognized command-line argument: -w

Command-line arguments: 

  -f, --fast [true | false]
   Whether to wait for physical time to match logical time.

  -o, --timeout <duration> <units>
   Stop after the specified amount of logical time, where units are one of
   nsec, usec, msec, sec, minute, hour, day, week, or the plurals of those.

  -k, --keepalive
   Whether continue execution even when there are no events to process.

  -w, --workers <n>
   Executed in <n> threads if possible (optional feature).

  -i, --id <n>
   The ID of the federation that this reactor will join.

Command given:
/Users/eal/git/lf-lang.github.io/packages/documentation/code/c/bin/CountDoubleDestination -w 8 

The variant --workers does work.

@edwardalee edwardalee added bug Something isn't working c Related to C target labels Mar 22, 2022
@housengw
Copy link
Contributor

reopening until #1060 is merged

@housengw housengw reopened this Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c Related to C target
Projects
None yet
2 participants