Salome HOME
Copyright update 2022
[modules/yacs.git] / src / bases / ThreadPT.hxx
index 290bc7aa308662e1dfaf6b10ec816db688c76e09..4567981c7ea3031b035a81702894fba22d3d6933 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2022  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
@@ -33,7 +33,9 @@ namespace YACS
     public:
       typedef void *(*ThreadJob)(void*);
     public:
+      ThreadPT();
       ThreadPT(ThreadJob funcPtr, void *stack, size_t stackSize = 0);
+      void go(ThreadJob funcPtr, void *stack, size_t stackSize = 0);
       bool operator==(const ThreadPT& other);
       void join();
       static void detach();