From: "Jeff Trawick" <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 7:11 AM


> I was thinking of playing with a thread-specific free list of certain
> commonly-allocated structures but it would seem that there is no
> proper mechanism for cleaning up the free list when the APR thread
> goes away.  It would be very useful to be able to register a cleanup
> to be run at thread termination.
> 
> It might also be useful to register a routine to be called when a new
> APR thread is created.
> 
> comments?

Yes, yes, yes!  Now the tricky part.  How to implement.  I'm thinking
along the same lines for loading/unloading dso's, and both in tandem
(e.g. init each thread as a dso is loaded.)



Reply via email to