From: Christian P. <cp...@us...> - 2005-04-25 10:51:22
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14574/include/pclasses/System Modified Files: Thread.h Log Message: - Changed return type of Thread::main() to long Index: Thread.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Thread.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Thread.h 28 Jan 2005 17:36:13 -0000 1.5 +++ Thread.h 25 Apr 2005 10:51:14 -0000 1.6 @@ -47,7 +47,7 @@ Wait until the thread has exited. \return the threads exit-code (returned by main()) */ - virtual int join() throw(LogicError, SystemError); + virtual long join() throw(LogicError, SystemError); //! Test if thread is detached bool detached() const throw(); @@ -61,7 +61,7 @@ Semaphore* sem = 0) throw(SystemError); protected: - virtual int main() = 0; + virtual long main() = 0; private: struct Handle; |