Skip to content

Commit

Permalink
Docs: Remove static scheduling warning
Browse files Browse the repository at this point in the history
The docs on multithreading still warns that the default scheduler for @threads
uses static scheduling. However, since JuliaLang#44136, dynamic scheduling has been the
default. This commit removes the warning.
  • Loading branch information
jakobnissen committed Aug 28, 2022
1 parent 6cdc4ce commit 028bad8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/src/manual/multi-threading.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,6 @@ threads in Julia:
multiple threads where at least one thread modifies the collection
(common examples include `push!` on arrays, or inserting
items into a `Dict`).
* `@threads` currently uses a static schedule, using all threads and assigning
equal iteration counts to each. In the future the default schedule is likely
to change to be dynamic.
* The schedule used by `@spawn` is nondeterministic and should not be relied on.
* Compute-bound, non-memory-allocating tasks can prevent garbage collection from
running in other threads that are allocating memory. In these cases it may
Expand Down

0 comments on commit 028bad8

Please sign in to comment.