]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide a copy constructor.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 15:45:54 +0000 (15:45 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 15:45:54 +0000 (15:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@31041 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/thread_management.h

index 50ca4bb4c970d98762ff265b623ff27bc2734388..e0464b515d17668881967e45d4b890d4b406f48c 100644 (file)
@@ -1638,6 +1638,14 @@ namespace Threads
      */
     Thread () {}
 
+    /**
+     * Copy constructor.
+     */
+    Thread (const Thread<RT> &t)
+    :
+    thread_descriptor (t.thread_descriptor)
+    {}
+
     /**
      * Join the thread represented by this
      * object, i.e. wait for it 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.