From: <le...@us...> - 2004-03-13 19:46:34
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22207/rtk Modified Files: Thread.h Log Message: Added comment for GetID() Index: Thread.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/Thread.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Thread.h 5 Mar 2004 21:15:39 -0000 1.6 --- Thread.h 13 Mar 2004 19:37:44 -0000 1.7 *************** *** 32,37 **** ***** * Authors (chronological order): ! * Mikko Lahteenmaki, mikko§rtk.cx ! * Dejan Lekic, dejan§rtk.cx * Contributors (chronological order): * $fname $lname, $email --- 32,37 ---- ***** * Authors (chronological order): ! * Mikko Lahteenmaki, mikkortk.cx ! * Dejan Lekic, dejanrtk.cx * Contributors (chronological order): * $fname $lname, $email *************** *** 61,66 **** typedef int (*ThreadFunction)(void * arg); ! /** ! * Thread implementation. */ class RTK_API Thread --- 61,66 ---- typedef int (*ThreadFunction)(void * arg); ! /** Thread class ! * Very simple, native (when possible) thread implementation. */ class RTK_API Thread *************** *** 93,96 **** --- 93,100 ---- int SetPriority(int priority); + /** Get ID of a thread. + * @return unsigned long Thread's ID + * @see Thread::GetHandle() Thread::Create() + */ unsigned long GetId(); ThreadHandle GetHandle() const { return _thread_handle; } |