]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove todo and clarify text.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 May 2011 11:25:14 +0000 (11:25 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 May 2011 11:25:14 +0000 (11:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@23719 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/headers/multithreading.h

index f13ebe15e4cd218fca5f7b3ec53623208f213a2d..5da7f80e86f1fda04fed9b7faa636877ad4f801b 100644 (file)
  * identified with individual C++ statements, but often they more
  * generally coincide with entire code blocks.
  *
- * @todo The following does not seem to be about task based, but
- * rather thread based parallelism. I am not yet sufficiently familiar
- * with the content of this page to remove it with confidence,
- * though. GK
- * 
- * The point here is this: To exploit the independence of tasks 2 and 3, we
- * could start two threads and run each task on its own thread; we would then
- * wait for the two threads to finish (an operation called "joining a thread")
- * and go on with statement 4. As discussed in more detail below, code to
- * achieve this would look like this:
+ * The point here is this: If we wanted to use threads to exploit the
+ * independence of tasks 2 and 3, we would start two threads and run each of
+ * tasks 2 and 3 on its own thread; we would then wait for the two threads to
+ * finish (an operation called "joining a thread") and go on with statement
+ * 4. Code to achieve this would look like this (the actual syntax is
+ * explained in more detail below):
  * @code
    dof_handler.distribute_dofs (fe);
 
  * But what if
  * your computer has only one processor core, or if we have two but there is
  * already a different part of the program running in %parallel to the code
- * above? In that case, we could of course still start new threads, but the
+ * above? In that case, the code above would still start new threads, but the
  * program is not going to run faster since no additional compute resources
  * are available; rather, the program will run slower since threads have to be
  * created and destroyed, and the operating system has to schedule threads to

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.