From 56d55c505eb3dbaf8f938f7411c067d8b214c1ac Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 12 May 2005 18:13:29 +0000 Subject: [PATCH] Add/copy comments so that the documentation doesn't look all that empty. git-svn-id: https://svn.dealii.org/trunk@10675 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/thread_management.h | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/deal.II/base/include/base/thread_management.h b/deal.II/base/include/base/thread_management.h index 674fd225ca..0b03caa979 100644 --- a/deal.II/base/include/base/thread_management.h +++ b/deal.II/base/include/base/thread_management.h @@ -517,7 +517,21 @@ namespace Threads * the library. */ typedef PosixThreadMutex ThreadMutex; + + /** + * If using POSIX functions, then + * alias the POSIX wrapper classes + * to the names we use throughout + * the library. + */ typedef PosixThreadCondition ThreadCondition; + + /** + * If using POSIX functions, then + * alias the POSIX wrapper classes + * to the names we use throughout + * the library. + */ typedef PosixThreadBarrier Barrier; # else @@ -534,7 +548,27 @@ namespace Threads * barrier class. */ typedef DummyThreadMutex ThreadMutex; + + /** + * In non-multithread mode, the + * mutex and thread management + * classes are aliased to dummy + * classes that actually do + * nothing, in particular not lock + * objects. Likewise for the + * barrier class. + */ typedef DummyThreadCondition ThreadCondition; + + /** + * In non-multithread mode, the + * mutex and thread management + * classes are aliased to dummy + * classes that actually do + * nothing, in particular not lock + * objects. Likewise for the + * barrier class. + */ typedef DummyBarrier Barrier; #endif -- 2.39.5