]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Correct preprocessor statement: without MT, DeadlockKiller would block any execution.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Dec 2010 15:25:44 +0000 (15:25 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Dec 2010 15:25:44 +0000 (15:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@23055 0785d39b-7218-0410-832d-ea1e28bc413d

tests/tests.h

index f62b2bc4238f10842dd12c3f45fe0dd8c6d671b3..6de468cbbd294a071097ed2a7e48417aee0a963d 100644 (file)
@@ -124,7 +124,7 @@ set_grain_sizes;
 //
 // the actual sleep time isn't all that important. the point is that
 // we need to kill deadlocked threads at one point, whenever that is
-#ifdef DEAL_II_USE_MT
+#if DEAL_II_USE_MT == 1
 
 struct DeadlockKiller
 {

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.