The thing is that for apache modules it is needed to have multiple webmodules created for simultaneous requests coming from multiple people browsing the web server. I was creating some pooling for the web modules in fpapache.pp and simulated 2 concurrent requests when it happened. If we change the name, will the next call find the changed named module for reuse? > > > On Fri, 19 Sep 2008, ABorka wrote: > >> >> Hi Michael, >> >> It was created in fpapache.pp in the handlerequest event. >> >> M:=MC.create(self); >> >> It worked without using the createnew, with the latest FPC source code. > > This is weird, because the code before that searches if there is an > existing > instance. If so, it should be reused ? > > OK, I'll have a look at it. It should probably be created with owner Nil, > and then a unique name should be made and assigned, after which self can > be put as the owner. > > Michael. > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel