lua-users home
lua-l archive

Re: Loadlib work 5,1

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have *no* requirement to explicitly unload. I agree it is dangerous.
On 2004年9月03日 12:32:05 -0300, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> > > And is the unloading of dynamic libraries during run-time really
> > > necessary?
> > For Win32, yes.
> > while (condition) {
> > L=lua_open();
> > lua_pcall(); /* loads libraries */
> > lua_close(L);
> > }
> 
> For "run-time" I meant at an arbitrary point during program execution,
> not when closing Lua. The "unload-when-closing" case seems strong. My
> question regards the "unload-at-programmer-will" case.
> 
> -- Roberto
> 
-- 
db

AltStyle によって変換されたページ (->オリジナル) /