]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Doc update on MT-safeness.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Feb 2001 17:16:45 +0000 (17:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Feb 2001 17:16:45 +0000 (17:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@4078 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_direct.h

index a1295a8f94b8fcb43c40f7bbed8fc7419d7cb68e..405348e87692f8a395e65d0ae307d2d25654b704 100644 (file)
  * 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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.