Skip to content

Commit 4b1c78b

Browse files
add News
1 parent 47cd776 commit 4b1c78b

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
@@ -29,6 +29,13 @@ New language features
2929
Language changes
3030
----------------
3131

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

0 commit comments

Comments
 (0)