We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#include <stdio.h> int main() { int val1 = 0; int val2; struct chclause clauses[] = { {CHSEND, 100, &val1, sizeof(val1)}, {CHRECV, 200, &val2, sizeof(val2)} }; int rc = choose(clauses, 2, now() + 1000); printf("rc=%i, errno=%i\n",rc,errno); return 0; }
prints rc=0, errno=9 When as per documentation rc should be -1.
rc=0, errno=9
rc
-1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
prints
rc=0, errno=9
When as per documentation
rc
should be-1
.The text was updated successfully, but these errors were encountered: