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

Receive CL_INVALID_EVENT_WAIT_LIST when pass event to ewait by value #186

Open
Mr-Andersen opened this issue Apr 2, 2020 · 0 comments
Open

Comments

@Mr-Andersen
Copy link

My code:
https://gist.github.com/Mr-Andersen/497df5036a1fcc5b2e5de9a9c73a1dbb
In line 59 of main.rs, if you replace &event with event, you don't get any compile errors, but in runtime program fails with CL_INVALID_EVENT_WAIT_LIST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant