@@ -33,13 +33,6 @@ New language features
3333Language changes
3434----------------
3535
36- * Julia now defaults to 1 "interactive" thread, in addition to the 1 default "worker" thread. i.e. ` -t1,1 ` .
37- This means in default configuration the main task and repl (when in interactive mode), which both run on
38- thread 1, now run within the ` interactive ` threadpool. The libuv IO loop also runs on thread 1,
39- helping efficient utilization of the worker threadpool used by ` Threads.@spawn ` . Asking for specifically 1 thread
40- (` -t1 ` /` JULIA_NUM_THREADS=1 ` ) or passing ` 0 ` will disable the interactive thread i.e. ` -t1,0 ` or ` JULIA_NUM_THREADS=1,0 `
41- , or ` -tauto,0 ` etc. Asking for more than 1 thread will enable the interactive thread so
42- ` -t2 ` will set the equivalent of ` -t2,1 ` ([ #57087 ] ).
4336* When a method is replaced with an exactly equivalent one, the old method is not deleted. Instead, the
4437 new method takes priority and becomes more specific than the old method. Thus if the new method is deleted
4538 later, the old method will resume operating. This can be useful in mocking frameworks (as in SparseArrays,
@@ -88,6 +81,14 @@ Command-line option changes
8881Multi-threading changes
8982-----------------------
9083
84+ * Julia now defaults to 1 "interactive" thread, in addition to the 1 default "worker" thread. i.e. ` -t1,1 ` .
85+ This means in default configuration the main task and repl (when in interactive mode), which both run on
86+ thread 1, now run within the ` interactive ` threadpool. The libuv IO loop also runs on thread 1,
87+ helping efficient utilization of the worker threadpool used by ` Threads.@spawn ` . Asking for specifically 1 thread
88+ (` -t1 ` /` JULIA_NUM_THREADS=1 ` ) or ` 0 ` interactive threads will disable the interactive thread i.e. ` -t1,0 ` or ` JULIA_NUM_THREADS=1,0 `
89+ , or ` -tauto,0 ` etc. Asking for more than 1 thread will enable the interactive thread so
90+ ` -t2 ` will set the equivalent of ` -t2,1 ` . As a reminder, buffers
91+ [ should not be managed based on ` threadid() ` ] ( https://docs.julialang.org/en/v1/manual/multi-threading/#Using-@threads-without-data-races ) ([ #57087 ] ).
9192* New types are defined to handle the pattern of code that must run once per process, called
9293 a ` OncePerProcess{T} ` type, which allows defining a function that should be run exactly once
9394 the first time it is called, and then always return the same result value of type ` T `
0 commit comments