Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Sven Barth via fpc-devel
Marc Weustink via fpc-devel schrieb am Di., 5. Mai 2020, 11:21: > > 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. > > Not

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Sven Barth via fpc-devel
Michael Van Canneyt schrieb am Di., 5. Mai 2020, 11:33: > > > On Tue, 5 May 2020, Marco van de Voort wrote: > > > > > Op 2020-05-05 om 11:08 schreef Sven Barth via fpc-devel: > >> > >> ForDebugging is just one of the purposes, and TThread.NameThread is > >> double, since it is a property

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Michael Van Canneyt
On Tue, 5 May 2020, Marco van de Voort wrote: Op 2020-05-05 om 11:08 schreef Sven Barth via fpc-devel: 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 name. As Marco said, ? huh ?

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Marco van de Voort
Op 2020-05-05 om 11:08 schreef Sven Barth via fpc-devel: 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 name. As Marco said, ? huh ? ___

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Marc Weustink via fpc-devel
On 5-5-2020 11:08, Sven Barth via fpc-devel wrote: Marc Weustink via fpc-devel > schrieb am Di., 5. Mai 2020, 09:27: Sven Barth via fpc-devel wrote: > > TThread.NameThreadForDebugging is implemented for Windows, Linux and > Android

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Sven Barth via fpc-devel
Marc Weustink via fpc-devel 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 ? >

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Michael Van Canneyt
On Tue, 5 May 2020, Marc Weustink via fpc-devel wrote: 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 ? Dephi compatibility:

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-05 Thread Marc Weustink via fpc-devel
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,

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-04 Thread Sven Barth via fpc-devel
C Western schrieb am Mo., 4. Mai 2020, 09:59: > > > I have added protections against empty strings in r45237, though I > > would be quite curious what already called > > TThread.NameThreadForDebugging considering it was implemented only > > recently... > > In fact I had added a call to

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-04 Thread C Western
I have added protections against empty strings in r45237, though I would be quite curious what already called TThread.NameThreadForDebugging considering it was implemented only recently... In fact I had added a call to pthread_setname_np in my application a while ago, and I think there was

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-03 Thread Sven Barth via fpc-devel
Am 03.05.2020 um 22:51 schrieb C Western: On 03/05/2020 20:59, C Western wrote: On 02/05/2020 10:36, C Western wrote: Compiling Lazarus trunk with the latest fpc: components/ideintf/propedits.pp(6019,28) Fatal: Internal error 200709171 Colin Seems now to be fixed in a recent update.

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-03 Thread C Western
On 03/05/2020 20:59, C Western wrote: On 02/05/2020 10:36, C Western wrote: Compiling Lazarus trunk with the latest fpc: components/ideintf/propedits.pp(6019,28) Fatal: Internal error 200709171 Colin Seems now to be fixed in a recent update. However my program now crashes on exit in

Re: [fpc-devel] r45217 breaks Lazarus compile

2020-05-03 Thread C Western
On 02/05/2020 10:36, C Western wrote: Compiling Lazarus trunk with the latest fpc: components/ideintf/propedits.pp(6019,28) Fatal: Internal error 200709171 Colin Seems now to be fixed in a recent update. However my program now crashes on exit in CSetThreadDebugNameA. (Why is this called on

[fpc-devel] r45217 breaks Lazarus compile

2020-05-02 Thread C Western
Compiling Lazarus trunk with the latest fpc: components/ideintf/propedits.pp(6019,28) Fatal: Internal error 200709171 Colin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel