Document that setting the error/warning behavior/handler is not thread safe

This commit is contained in:
Andreas Fabri 2016-11-02 16:10:07 +01:00
parent 1c400420ce
commit ee37a9dd85
2 changed files with 6 additions and 0 deletions

View File

@ -29,24 +29,28 @@ typedef
/*! /*!
This function is not thread safe.
*/ */
Failure_function Failure_function
set_error_handler( Failure_function handler); set_error_handler( Failure_function handler);
/*! /*!
This function is not thread safe.
*/ */
Failure_function Failure_function
set_warning_handler( Failure_function handler); set_warning_handler( Failure_function handler);
/*! /*!
This function is not thread safe.
*/ */
Failure_behaviour Failure_behaviour
set_error_behaviour(Failure_behaviour eb); set_error_behaviour(Failure_behaviour eb);
/*! /*!
This function is not thread safe.
*/ */
Failure_behaviour Failure_behaviour
set_warning_behaviour(Failure_behaviour eb); set_warning_behaviour(Failure_behaviour eb);

View File

@ -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 The only difference is that for warnings the default value is
`CONTINUE`. `CONTINUE`.
Setting the error and warning behavior is not thead safe.
\subsection stl_control Control at a Finer Granularity \subsection stl_control Control at a Finer Granularity