How to change the number of threads?

Is that in a terminal REPL or are you using Juno?