Skip to content

Commit

Permalink
DEBUG: Default to workstealing for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Dec 10, 2021
1 parent a4a20cb commit e862411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partr.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ void jl_init_threadinginfra(void)
{
/* choose and initialize the scheduler */
char *sch = getenv("JULIA_THREAD_SCHEDULER");
if (sch && !strncasecmp(sch, "workstealing", 12))
if (!sch || !strncasecmp(sch, "workstealing", 12))
wsdeque_init();
else
multiq_init();
Expand Down

0 comments on commit e862411

Please sign in to comment.