[fpc-pascal] Powtils Apache and Windows Seven 64bits

Michael Van Canneyt michael at freepascal.org
Tue May 25 16:49:05 CEST 2010

On Tue, 25 May 2010, Bee Jay wrote:

> On 25 Mei 2010, at 20:31, Michael Van Canneyt wrote:
>> But maybe the new garbage collector no longer has the problem; in that case,
>> my remarks are void.
> I hope so. I haven't try the latest SVN either. :D
>> Tell him he should also get rid of the one-thread-per-session
>> model, because it is simply not correct in many circumstances. It is visible
>> in the use of threadvars.
> Any suggestion how to do it better?

The problem resolves itself if you convert everything to TComponent
descendents: you can then follow the owner chain till you get to the
TWebSession class; There is only 1 instance of that class per session,
regardless of the threads in use.


More information about the fpc-pascal mailing list