Skip to content

Commit 386d66f

Browse files
add News
1 parent 993c40b commit 386d66f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ New language features
2727
Language changes
2828
----------------
2929

30+
- Julia now defaults to 1 "interactive" thread, in addition to the 1 "default" worker thread. i.e. `-t1,1`
31+
This means in default configuration the main task and repl (when in interactive mode), which both run on
32+
thread 1, now run within the `interactive` threadpool. Also the libuv IO loop runs on thread 1,
33+
helping efficient utilization of the "default" worker threadpool, which is what `Threads.@threads` and a bare
34+
`Threads.@spawn` uses. Use `0` to disable the interactive thread i.e. `-t1,0` or `JULIA_NUM_THREADS=1,0`, or
35+
`-tauto,0` etc. The zero is explicitly required to disable it, `-t2` will set the equivalent of `-t2,1` ([#57087])
36+
3037
- When methods are replaced with exactly equivalent ones, the old method is no
3138
longer deleted implicitly simultaneously, although the new method does take
3239
priority and become more specific than the old method. Thus if the new

0 commit comments

Comments
 (0)