Threads id
#1202
Replies: 1 comment
-
The parameter is documented as a thread index, and that's specific to the pool, so yes it will be It will not have any correlation to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
` rayon::ThreadPoolBuilder::new().
num_threads(*NUM_THREADS).
start_handler(|real_thread_id| {
I noticed that the thread ids passed to start_handler are sequential (0, 1, 2, 3....) and starts from zero.
Is this something casual or is something standard?
Beta Was this translation helpful? Give feedback.
All reactions