Skip to content

Commit

Permalink
Fixing spelling errors that went undetected because the pre-commit sp…
Browse files Browse the repository at this point in the history
…ell check was added after the CI for PR pybind#2995 last ran.
  • Loading branch information
rwgk committed Jul 12, 2021
1 parent 7472d37 commit cb5cd8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/pycpp/utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ redirects output to the corresponding Python streams:

The implementation in ``pybind11/iostream.h`` is NOT thread safe. Multiple
threads writing to a redirected ostream concurrently cause data races
and potentially buffer overflows. Therefore it is currrently a requirement
and potentially buffer overflows. Therefore it is currently a requirement
that all (possibly) concurrent redirected ostream writes are protected by
a mutex. #HelpAppreciated: Work on iostream.h thread safety. For more
background see the discussions under
Expand Down
2 changes: 1 addition & 1 deletion include/pybind11/iostream.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
WARNING: The implementation in this file is NOT thread safe. Multiple
threads writing to a redirected ostream concurrently cause data races
and potentially buffer overflows. Therefore it is currrently a requirement
and potentially buffer overflows. Therefore it is currently a requirement
that all (possibly) concurrent redirected ostream writes are protected by
a mutex.
#HelpAppreciated: Work on iostream.h thread safety.
Expand Down

0 comments on commit cb5cd8b

Please sign in to comment.