]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Uh, squash big fat bug.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Apr 2002 09:21:27 +0000 (09:21 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Apr 2002 09:21:27 +0000 (09:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@5762 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/thread_management.cc

index 5dfe7811b49b5fd427deed5eb99e980aa43e55b3..19c0607ad1f845d787b388e3492fa222ecec9371 100644 (file)
@@ -136,7 +136,7 @@ namespace Threads
 
     for (std::list<pthread_t>::iterator i=tid_list.begin();
         i != tid_list.end(); ++i)
-      pthread_join (tid_list.back(), 0);
+      pthread_join (*i, 0);
   };
   
 #  endif

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.