We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71cf7c commit e462661Copy full SHA for e462661
src/threading.c
@@ -844,6 +844,7 @@ void jl_start_threads(void)
844
// Interactive pool threads get the low IDs, so check if this is a
845
// default pool thread. The master thread is already on CPU 0.
846
if (exclusive && i >= ninteractive_threads) {
847
+ assert(i - ninteractive_threads < cpumasksize);
848
mask[i - ninteractive_threads] = 1;
849
uv_thread_setaffinity(&uvtid, mask, NULL, cpumasksize);
850
mask[i - ninteractive_threads] = 0;
0 commit comments