Re: [fpc-devel] function GetCurrentThreadId vs variable ThreadID

2021-04-04 Thread Sven Barth via fpc-devel
Am 28.03.2021 um 21:46 schrieb Alexander Grotewohl via fpc-devel: looks like threadid is assigned to getcurrentthreadid in an initthread() function in thread.inc. but: getcurrentthreadid looks to be mapped to a changeable thread manager which is why that might seem weird in the docs.. Correc

Re: [fpc-devel] function GetCurrentThreadId vs variable ThreadID

2021-03-28 Thread Alexander Grotewohl via fpc-devel
From: fpc-devel on behalf of Martin via fpc-devel Sent: Sunday, March 28, 2021, 3:35 PM To: fpc-devel Cc: Martin Subject: [fpc-devel] function GetCurrentThreadId vs variable ThreadID I looked at the doc https://www.freepascal.org/docs-html/rtl/system/getcurrentthreadid.html https

[fpc-devel] function GetCurrentThreadId vs variable ThreadID

2021-03-28 Thread Martin via fpc-devel
I looked at the doc https://www.freepascal.org/docs-html/rtl/system/getcurrentthreadid.html https://www.freepascal.org/docs-html/rtl/system/threadid.html But the entry for ThreadId only says "Current Thread ID." Which is not distinguishing it from GetCurrentThreadId. So what is the difference?