-
Notifications
You must be signed in to change notification settings - Fork 220
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 the System trait #41
Conversation
Weird, if I move the same test code into the example, it works. |
The test case that is failing is |
@csherratt thanks for figuring this out! So what can be done to fix it nicely then? |
Easiest way, add a drop guard to do the send in the case of a task panicking. This is the same technique the https://github.com/frewsxcv/rust-threadpool/blob/master/src/lib.rs#L29-L60 |
@csherratt the more I look at |
@kvark I don't disagree on the |
41: Remove dependency on unstable feature r=torkleyy
Closes #30
The new code somehow introduces a deadlock in the tests. AFAIK, all I did was changing a pulse/barrier into a channel.