Closed swiesend closed 9 years ago
Hey swiesend,
I think the problem is that since I last update this, scoped threads were discovered to be unsound and so have been marked as unstable again so won't compile. The fix would be to replace the ScopedPool
which I'll do as soon as I have time, hopefully by tomorrow.
Jack
In the IRC channel they told me that I just have to add the scoped-pool
feature in the dependencies like this:
[dependencies.threadpool]
version = "0.1"
features = ["scoped-pool"]
So that would only be a temporary solution?
I don't think that will work because scoped is still not allowed in beta. I tried that and got error: unstable feature...this feature may not be used in the beta release channel
. It might work on nightly but I'm not sure.
I removed batch training so no multithreading for now but it is building. 26aff11c545c31a8eb39a5b1bb0e81ebf290f7da
Hey Jack,
I'm very new to rust and still don't know how to attack build issues. Can you help me out with that one? I don't understand well why its not working, although the
ScopedPool
seems to be implemented in the threadpool lib aspub struct ScopedPool<'pool>
: https://github.com/rust-lang/threadpool/blob/master/src/lib.rs