X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Boost%2Fsrc%2Fcpp%2Fcore%2Fthread%2FuseThread.cpp;fp=WCudaMSE%2FTuto_Boost%2Fsrc%2Fcpp%2Fcore%2Fthread%2FuseThread.cpp;h=a20943bedc6a8f657988cea7c781660e8b00861e;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Boost/src/cpp/core/thread/useThread.cpp b/WCudaMSE/Tuto_Boost/src/cpp/core/thread/useThread.cpp new file mode 100755 index 0000000..a20943b --- /dev/null +++ b/WCudaMSE/Tuto_Boost/src/cpp/core/thread/useThread.cpp @@ -0,0 +1,57 @@ +#include +#include + +using std::cout; +using std::endl; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Imported *| + \*-------------------------------------*/ + +extern void helloThread_Procedure(void); +extern void helloThread_ProcedureArgs(void); +extern void helloThread_Objet(void); +extern void helloThread_Methode(void); + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +bool useThread(void); + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +bool useThread(void) + { + cout<<"[Use Thread] : "<