Skip to content

Commit

Permalink
Docs: Remove static scheduling warning (#46519)
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 #44136, dynamic scheduling has been the
default. This commit removes the warning.
  • Loading branch information
jakobnissen committed Aug 29, 2022
1 parent c79b995 commit 72222d6
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 72222d6

Please sign in to comment.