Skip to content

Commit 8240225

Browse files
authored
[release-1.6] NEWS and a doc fix for #36778 (#39118)
Adds news and docs for #36778 Refs: #39032
1 parent b84990e commit 8240225

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Multi-threading changes
7575

7676
* Locks now automatically inhibit finalizers from running, to avoid deadlock ([#38487]).
7777
* New function `Base.Threads.foreach(f, channel::Channel)` for multithreaded `Channel` consumption ([#34543]).
78+
* There is no longer a restriction on the number of threads ([#36778]).
7879

7980
Build system changes
8081
--------------------

doc/src/manual/environment-variables.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,9 @@ a master process to establish a connection before dying.
190190
### [`JULIA_NUM_THREADS`](@id JULIA_NUM_THREADS)
191191

192192
An unsigned 64-bit integer (`uint64_t`) that sets the maximum number of threads
193-
available to Julia. If `$JULIA_NUM_THREADS` exceeds the number of available
194-
CPU threads (logical cores), then the number of threads is set to the number of CPU threads. If
195-
`$JULIA_NUM_THREADS` is not positive or is not set, or if the number of CPU
196-
threads cannot be determined through system calls, then the number of threads is
197-
set to `1`.
193+
available to Julia. If `$JULIA_NUM_THREADS` is not positive or is not set, or if
194+
the number of CPU threads cannot be determined through system calls, then the number
195+
of threads is set to `1`.
198196

199197
!!! note
200198

0 commit comments

Comments
 (0)