Stas Bekman <[EMAIL PROTECTED]> writes: [...]
> I guess all you need to do is to change xs/APR/APR/Makefile.PL to > collect all .o files from under xs/APR and a few selected > src/modules/perl/modperl_xxx.o and link them statically with APR.so if > under win32. (and may be some other platforms too (aix comes to mind)). Before we get into all that, I would like to know why APR::Pool has any interaction with modperl's thread-pools. I really don't understand why pool cleanup needs to decrement a tipool refcount [*]; why doesn't this introduce all kind of refcount-related bugs when mp2 users start creating/destroying their own subpools? If there's a design flaw here, then fixing the design flaw may allow us to avoid such platform-specific linking hacks. [*] ie, all the "#idef USE_ITHREADS" code in APR__Pool.h -- Joe Schaefer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
