[fpc-devel] r45217 breaks Lazarus compile
pascaldragon at googlemail.com
Tue May 5 11:08:10 CEST 2020
Marc Weustink via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
Di., 5. Mai 2020, 09:27:
> Sven Barth via fpc-devel wrote:
> > TThread.NameThreadForDebugging is implemented for Windows, Linux and
> > Android since the weekend.
> Just curious, why is NameThreadForDebugging used instead of simply
> TThread.Name ?
> ForDebugging is just one of the purposes, and TThread.NameThread is
> double, since it is a property of a thread, what else would you give a
As Marco said, Delphi compatibility. Also debugging *is* the *only* purpose
of this. Not to mention that this is a write only functionality. There is
no way to retrieve the thread's name and it's also not stored anywhere on
the Pascal side.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel