Salome HOME
Small fixes in tests.
[modules/yacs.git] / src / bases / ThreadPT.cxx
index c0bbf234840217d11fc63b19f8b03891f92df824..352c626a47427a2d15b7f06f34df207b0ac06bf1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 using namespace YACS::BASES;
 
+ThreadPT::ThreadPT()
+{
+}
+
 ThreadPT::ThreadPT(ThreadJob funcPtr, void *stack, size_t stackSize)
+{
+  go(funcPtr,stack,stackSize);
+}
+
+void ThreadPT::go(ThreadJob funcPtr, void *stack, size_t stackSize)
 {
   int err;
   void **stackT=(void **) stack;