2012/3/30 Gustavo Sverzut Barbieri <barbi...@profusion.mobi>: > On Fri, Mar 30, 2012 at 3:43 AM, Bluezery <ohpo...@gmail.com> wrote: >> Hello, >> >> I want to add new eina_module_resident() API in eina_modules. >> This function makes the module never be unloaded before process is closed. >> This is needed in which case a module should not be closed. >> For example, if a module uses static GObject, closing and reopening >> it cause crashes. >> Because a module can be made by other opensource or proprietary code, >> this API is needed. > > Wasn't a common sense that dynamically loaded modules should be never > unload? I recall raster disabling the actual dlclose(), if not in > Eina, something in e_modules... It's too dangerous, and is it worth?
You mean that forbidding module unload is a common sense?? (Sorry for my understanding English.) I agree with that. It's too dangerous to dlclose(). But, dlclose() is not disabled in eina_module currently. So I want to add API for giving rights to disable this for end-users. I looked around the e_module. And I found that e_module does not eina_module and use dlopen() directly. Also it do not use dlclose() except error. > As a note, kernel developers condemn module unloading, saying it's > just a module developer feature and should never be used by end-users > (although we all do to work around buggy kernel modules such as > broadcom's proprietary wifi). > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- BRs, Kim. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel