Skip to content

Commit

Permalink
docs: Fix a !!! note which was miscapitalized (#50474)
Browse files Browse the repository at this point in the history
(cherry picked from commit 236c23b)
  • Loading branch information
chipbuster authored and KristofferC committed Jul 11, 2023
1 parent 51207fa commit 4cf3007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/multi-threading.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ sum_multi_good (generic function with 1 method)
julia> sum_multi_good(1:1_000_000)
500000500000
```
!!! Note
!!! note
Buffers should not be managed based on `threadid()` i.e. `buffers = zeros(Threads.nthreads())` because concurrent tasks
can yield, meaning multiple concurrent tasks may use the same buffer on a given thread, introducing risk of data races.
Further, when more than one thread is available tasks may change thread at yield points, which is known as
Expand Down

0 comments on commit 4cf3007

Please sign in to comment.