Skip to content

Commit

Permalink
Merge pull request #45107 from kpamnany/kp/threadpool-news
Browse files Browse the repository at this point in the history
Add NEWS entry for threadpools
  • Loading branch information
kpamnany authored Apr 27, 2022
2 parents 1c5648d + 81e5b01 commit 78aa083
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@ Command-line option changes

* In Linux and Windows, `--threads=auto` now tries to infer usable number of CPUs from the
process affinity which is set typically in HPC and cloud environments ([#42340]).
* The `--threads` command-line option now accepts `auto|N[,auto|M]` where `M` specifies the
number of interactive threads to create (`auto` currently means 1) ([#42302]).

Multi-threading changes
-----------------------

* `Threads.@spawn` now accepts an optional first argument: `:default` or `:interactive`.
An interactive task desires low latency and implicitly agrees to be short duration or to
yield frequently. Interactive tasks will run on interactive threads, if any are specified
when Julia is started ([#42302]).

Build system changes
--------------------
Expand Down

0 comments on commit 78aa083

Please sign in to comment.