From a6976af34e3241750d45091b7f641f323053b2f8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 27 Feb 2001 17:16:45 +0000 Subject: [PATCH] Doc update on MT-safeness. git-svn-id: https://svn.dealii.org/trunk@4078 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_direct.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/deal.II/lac/include/lac/sparse_direct.h b/deal.II/lac/include/lac/sparse_direct.h index a1295a8f94..405348e876 100644 --- a/deal.II/lac/include/lac/sparse_direct.h +++ b/deal.II/lac/include/lac/sparse_direct.h @@ -94,6 +94,17 @@ * which size it should be increased. However, most often the * indicated value is far too small and can not be relied upon. * + * + * @section3{Note on parallelization} + * + * Due to the use of global variables through COMMON blocks, the calls + * to the sparse direct solver routines is not multithreading-capable, + * i.e. at each time there may only be one call to these functions + * active. You have to synchronise your calls to the functions + * provided by this class using mutexes (see the @ref{Threads} + * namespace for such classes) to avoid multiple active calls at the + * same time if you use multithreading. + * * @author Wolfgang Bangerth, 2000, 2001 */ class SparseDirectMA27 : public Subscriptor @@ -379,6 +390,17 @@ class SparseDirectMA27 : public Subscriptor * meaning is equivalent to those of the constructor of the * @ref{SparseDirectMA27} class; see there for more information. * + * + * @section3{Note on parallelization} + * + * Due to the use of global variables through COMMON blocks, the calls + * to the sparse direct solver routines is not multithreading-capable, + * i.e. at each time there may only be one call to these functions + * active. You have to synchronise your calls to the functions + * provided by this class using mutexes (see the @ref{Threads} + * namespace for such classes) to avoid multiple active calls at the + * same time if you use multithreading. + * * @author Wolfgang Bangerth, 2000, 2001 */ class SparseDirectMA47 : public Subscriptor -- 2.39.5