Skip to content

export JULIA_NUM_THREADS=X sets nthreads(:interactive)=0 #50084

@oscardssmith

Description

@oscardssmith

A lot of people have an exported value for JULIA_NUM_THREADS that doesn't specify a second number (because they set this up prior to 1.9). Julia 1.9 added interactive threads, but they are disabled by this line unless JULIA_NUM_THREADS manually sets a number of interactive threads. This isn't exactly a bug, but I think the better behavior would be to default to 1 interactive thread unless JULIA_NUM_THREADS=X,0 is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    multithreadingBase.Threads and related functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions