Re: [fpc-pascal] GetThreadId, GetCurrentThreadId and MainThreadId

2009-09-10 Thread Vincent Snijders
Vincent Snijders schreef: Hi, While investigating http://bugs.freepascal.org/view.php?id=14335 I ran into the following peculiarities. Please, comment and tell for which item you want bug reports, if any. I tested on i386-linux. I guess I need to submit three bug reports to get an answer. :-

Re: [fpc-pascal] GetThreadId, GetCurrentThreadId and MainThreadId

2009-09-08 Thread Vincent Snijders
JoshyFun schreef: Hello FPC-Pascal, Tuesday, September 8, 2009, 2:02:46 PM, you wrote: VS> If cthreads is used, I get the following output: VS> GetThreadID=3084795456 VS> GetCurrentThreadID=3085236992 VS> MainThreadID=3085236992 VS> 4. What is the difference between GetThreadID and VS> GetCurr

Re: [fpc-pascal] GetThreadId, GetCurrentThreadId and MainThreadId

2009-09-08 Thread JoshyFun
Hello FPC-Pascal, Tuesday, September 8, 2009, 2:02:46 PM, you wrote: VS> If cthreads is used, I get the following output: VS> GetThreadID=3084795456 VS> GetCurrentThreadID=3085236992 VS> MainThreadID=3085236992 VS> 4. What is the difference between GetThreadID and VS> GetCurrentThreadID? This co

[fpc-pascal] GetThreadId, GetCurrentThreadId and MainThreadId

2009-09-08 Thread Vincent Snijders
Hi, While investigating http://bugs.freepascal.org/view.php?id=14335 I ran into the following peculiarities. Please, comment and tell for which item you want bug reports, if any. I tested on i386-linux. 1. The docs of GetThreadId seems to contain a typo: http://lazarus-ccr.sourceforge.net/doc