apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: thread cleanups needed (?)
Date Fri, 08 Jun 2001 05:15:48 GMT
From: "Jeff Trawick" <trawickj@bellsouth.net>
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.)




Mime
View raw message