From 81a8b3182b5d3f98ddf9c7d38b8ca8e28419d6cf Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Sun, 3 Nov 2024 18:06:48 -0800 Subject: [PATCH] Add comment about thread-safety Signed-off-by: Darby Johnston --- cmake/OpenEXRSetup.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/OpenEXRSetup.cmake b/cmake/OpenEXRSetup.cmake index 38d86de51..4fdce3462 100644 --- a/cmake/OpenEXRSetup.cmake +++ b/cmake/OpenEXRSetup.cmake @@ -40,7 +40,8 @@ set(IEX_NAMESPACE "Iex" CACHE STRING "Public namespace alias for Iex") option(OPENEXR_INSTALL_PKG_CONFIG "Install OpenEXR.pc file" ON) # Whether to enable threading. This can be disabled, although thread pool and tasks -# are still used, just processed immediately +# are still used, just processed immediately. Note that if this is disabled, the +# OpenEXR library may not be thread-safe and should only be used by a single thread. option(OPENEXR_ENABLE_THREADING "Enables threaded processing of requests" ON) # When set to ON, will change the thread pool to use TBB for the # global thread pool by default.