From cb5cd8bb1b806cd4c8550a1170ce6a88fddd1a4c Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 12 Jul 2021 13:54:43 -0700 Subject: [PATCH] Fixing spelling errors that went undetected because the pre-commit spell check was added after the CI for PR #2995 last ran. --- docs/advanced/pycpp/utilities.rst | 2 +- include/pybind11/iostream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/pycpp/utilities.rst b/docs/advanced/pycpp/utilities.rst index 8b8e5196af..30429e84d7 100644 --- a/docs/advanced/pycpp/utilities.rst +++ b/docs/advanced/pycpp/utilities.rst @@ -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 diff --git a/include/pybind11/iostream.h b/include/pybind11/iostream.h index c98067ad8a..e4d2095857 100644 --- a/include/pybind11/iostream.h +++ b/include/pybind11/iostream.h @@ -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.