From: stephan b. <st...@s1...> - 2004-12-25 15:12:43
|
On Saturday 25 December 2004 08:07, Christian Prochnow wrote: > It's OK for me to not close shared libraries upon destruction. > However, if we do so, we should cache and re-use sharedlib handles. > Simply not closing the handle is not an option. Sounds fair. i've kept a list of the SharedLibs so that we have their handles. See PluginManager::sharedLibs(). > I've added a SharedLibCache to dl, shl and win32 implementations. > Please have a look at it. Excellent :). It's funny that you added 'extension()' to SharedLib - i was going to add the same (but called platformExtension()) the first thing this morning. :) -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |