From 17c015754151f4982ea1b8667aada39be338d13d Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 30 Sep 2013 15:45:54 +0000 Subject: [PATCH] Provide a copy constructor. git-svn-id: https://svn.dealii.org/trunk@31041 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/thread_management.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deal.II/include/deal.II/base/thread_management.h b/deal.II/include/deal.II/base/thread_management.h index 50ca4bb4c9..e0464b515d 100644 --- a/deal.II/include/deal.II/base/thread_management.h +++ b/deal.II/include/deal.II/base/thread_management.h @@ -1638,6 +1638,14 @@ namespace Threads */ Thread () {} + /** + * Copy constructor. + */ + Thread (const Thread &t) + : + thread_descriptor (t.thread_descriptor) + {} + /** * Join the thread represented by this * object, i.e. wait for it to -- 2.39.5