From: stephan b. <st...@s1...> - 2005-02-19 20:02:08
|
On Friday 18 February 2005 12:08, Christian Prochnow wrote: > Flex maybe isnt a problem if we distribute the autogenerated > flex-parser. That way win32 users should be able to build it without > having flex for win32. If it's that easy i'll be very happy. i'll try porting in one of them and see what happens. > > Any specific wishes? > > My biggest wish: a PluginRegistry. i think about that a lot, actually. i'm still not 100% clear what we need to do with it bzw what it need to do. a) keep track of which plugins are loaded. b) allow us to close plugins (or auto-close them somehow). c) provide a factory-like interface. The major problem i see is still the dlclose() thing. We can never 100% reliably know when all resources included by a DLL are freed up, so we cannot know when it is 100% safe to dlclose(). For most apps this is not a problem, because they can wait for the OS to close the dll at app shutdown. For P, which intends to be system-level, such behaviour is definitely a potential source of huge leaks :(. So the close problem has to be solved, but i haven't got any clever ideas. Anything else? -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |