Skip to content

Commit

Permalink
Fix typo (JuliaLang#47858)
Browse files Browse the repository at this point in the history
More than one lock may be taken
  • Loading branch information
LilithHafner committed Dec 10, 2022
1 parent 13157eb commit 05328b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/threadingconstructs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ unsynchronized memory accesses may result in undefined behavior.
For example, the above conditions imply that:
- The lock taken in an iteration *must* be released within the same iteration.
- A lock taken in an iteration *must* be released within the same iteration.
- Communicating between iterations using blocking primitives like `Channel`s is incorrect.
- Write only to locations not shared across iterations (unless a lock or atomic operation is
used).
Expand Down

0 comments on commit 05328b8

Please sign in to comment.