-
Notifications
You must be signed in to change notification settings - Fork 0
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
first pass review #1
Comments
@killercup heads up for you as well 😄 |
Sounds interesting! I'll try to read into the docs. From a quick glance I didn't quite "get it". Regarding spawning more than two threads, I guess the spawn APIs were deemed too complex? Or perhaps just ill-documented? The simplest way, if you don't need access to the stack, is definitely rayon::spawn(move || ...); // starts a "thread" |
Hey @nikomatsakis, I ended up removing |
@nikomatsakis I would love you to take a look at the API presented in this crate, especially the
join_pool
macro. Tell me what you think!I'm hoping to package synchronization+threading so that it is beginner friendly and extremely simple. One of the things that bit me early was "how do I spawn more than 2 threads with rayon?" This tries to make that simple.
The text was updated successfully, but these errors were encountered: