Salome HOME
Copyright update 2022
[modules/yacs.git] / src / bases / ThreadPT.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 290bc7a..4567981
@@ -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();