Maurilio

<<<<
Because I'm used to use a thread id which is a number, this is the way it
works on OS/2 and xbase++ on win32 and I did not find something similar in
current code.
>>>>

Perhaps you are misunderstood of Xbase++ thread implementation.
ThreadID() function in Xbase++ always returns the numeric consecutive id
number incremented by TThread() object. It has nothing to do with
OS specific thread identification. To get OS specific information you 
need to call ThreadInfo() function with required parameters, which
again is a function equivalent of TThread() objects instance variables.

Przemek is right. When he will implement TThread() object, you will be 
able to get both informations as you may need, perhaps even more,
ThreadID() - as a number, ThreadOSID() as a number as PID,
ThreadPTR() - thread as a pointer OR ThreadObject() as an object
controlling the current thread.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://www.nabble.com/hb_threadID%28%29-tp19777352p19784204.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to