From ee37a9dd85647f10f6d92d4318e17c60a7dd9767 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 2 Nov 2016 16:10:07 +0100 Subject: [PATCH] Document that setting the error/warning behavior/handler is not thread safe --- STL_Extension/doc/STL_Extension/CGAL/assertions_behaviour.h | 4 ++++ STL_Extension/doc/STL_Extension/STL_Extension.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/STL_Extension/doc/STL_Extension/CGAL/assertions_behaviour.h b/STL_Extension/doc/STL_Extension/CGAL/assertions_behaviour.h index 15a4d904aa3..bd7be00408b 100644 --- a/STL_Extension/doc/STL_Extension/CGAL/assertions_behaviour.h +++ b/STL_Extension/doc/STL_Extension/CGAL/assertions_behaviour.h @@ -29,24 +29,28 @@ typedef /*! +This function is not thread safe. */ Failure_function set_error_handler( Failure_function handler); /*! +This function is not thread safe. */ Failure_function set_warning_handler( Failure_function handler); /*! +This function is not thread safe. */ Failure_behaviour set_error_behaviour(Failure_behaviour eb); /*! +This function is not thread safe. */ Failure_behaviour set_warning_behaviour(Failure_behaviour eb); diff --git a/STL_Extension/doc/STL_Extension/STL_Extension.txt b/STL_Extension/doc/STL_Extension/STL_Extension.txt index 6e94644e7d7..ba2ddbd1e8d 100644 --- a/STL_Extension/doc/STL_Extension/STL_Extension.txt +++ b/STL_Extension/doc/STL_Extension/STL_Extension.txt @@ -333,6 +333,8 @@ For warnings we provide `set_warning_behaviour()` which works in the same way. The only difference is that for warnings the default value is `CONTINUE`. +Setting the error and warning behavior is not thead safe. + \subsection stl_control Control at a Finer Granularity