In #113 the number of threads is set to 1, with the option to change it at compile time.
I am compiling Julia code to a library with JuliaC, and used to set the threads at runtime from a Rust CLI by setting JULIA_NUM_THREADS, which worked fine (code here if interested).
I'm fine with defaulting to 1, but I don't see how I can control it at runtime. I see testset "jl_options applied at runtime (library)" but that only seems to read out the values at runtime.
Or should really not do this? I don't understand what in #112 is meant by until it has multi-threading / chained signal support. EDIT: just found JuliaLang/julia#61319
In #113 the number of threads is set to 1, with the option to change it at compile time.
I am compiling Julia code to a library with JuliaC, and used to set the threads at runtime from a Rust CLI by setting JULIA_NUM_THREADS, which worked fine (code here if interested).
I'm fine with defaulting to 1, but I don't see how I can control it at runtime. I see
testset "jl_options applied at runtime (library)"but that only seems to read out the values at runtime.Or should really not do this? I don't understand what in #112 is meant by
until it has multi-threading / chained signal support. EDIT: just found JuliaLang/julia#61319