apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Problems with DSOs and Pools
Date Fri, 18 Aug 2006 04:11:01 GMT
Quoting Bojan Smojver <bojan@rexursive.com>:

> Like the attached, perhaps?

Not quite.

The caller would have no way of determining the size of the  
apr_dso_handle_t, therefore it would not be possible to allocate this  
structure. Ah well, here is a version with calloc(). Since we wouldn't  
be doing anything with pools here and it would be "for the duration of  
the process", I guess we should be OK.


View raw message