Re: [fpc-pascal] Web application framework in Free Pascal

2019-02-12 Thread Marc Hanisch via fpc-pascal
Thanks for the link, looks really good and I will try it out for sure as soon as possible! Best regards, Marc -- Jabber: xmpp:marc.hani...@member.fsf.org Support the Free Software Foundation! https://my.fsf.org/donate Am Mi., 13. Feb. 2019, 07:06 hat Zamrony P. Juhara via fpc-pascal < fpc-pascal

[fpc-pascal] Web application framework in Free Pascal

2019-02-12 Thread Zamrony P. Juhara via fpc-pascal
Hi, everyone I just want to announce web application framework that I am developing, in case anyone interested.  Not yet mature but beginning to take shape. Source code fanoframework/fano | | | | || | | | | | fanoframework/fano Pascal web application framework. Cont

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Martin Frb
On 12/02/2019 19:46, Marc Santhoff wrote: On Tue, 2019-02-12 at 17:36 +0100, Sven Barth via fpc-pascal wrote: Not every LazLogger user knows that their code is run in a thread. And not every thread user knows that the code they are using is using LazLogger in turn. Ok. But if used that way, w

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Marc Santhoff
On Tue, 2019-02-12 at 17:36 +0100, Sven Barth via fpc-pascal wrote: > Not every LazLogger user knows that their code is run in a thread. And not > every thread user knows that the code they are using is using LazLogger in > turn. Ok. But if used that way, would LazLogger need to notice at all?

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Martin Frb
On 12/02/2019 16:56, Marc Santhoff wrote: ".DeregisterThread()" method. So you now the threads and their lifetime inside the logger. Yes, I wanted to avoid that. Put as little on the user as possible. The user may use some THttpRequest.OnProgress which may be in a thread, but the user does no

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Sven Barth via fpc-pascal
Am Di., 12. Feb. 2019, 16:56 hat Marc Santhoff geschrieben: > On Mon, 2019-02-11 at 10:21 +, Michael Schnell wrote: > > > Yes, but how do I get notified, when the thread is gone, and I can free > > > the > > > memory (of the object that was created)? > > > > Ah, now I finally see the problem

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Martin Frb
On 11/02/2019 11:21, Michael Schnell wrote: Yes, but how do I get notified, when the thread is gone, and I can free the memory (of the object that was created)? Ah, now I finally see the problem :) The only idea that comes in my mind is creating yet another thread or a TTimer (by means of "Que

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-12 Thread Marc Santhoff
On Mon, 2019-02-11 at 10:21 +, Michael Schnell wrote: > > Yes, but how do I get notified, when the thread is gone, and I can free > > the > > memory (of the object that was created)? > > Ah, now I finally see the problem :) > > The only idea that comes in my mind is creating yet another thread