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

Re: [MiNT] [MiNT]patches, was: Mintlib: Bindings for EsetShift() and VsetMask()



On Sun, 2009-12-13 at 14:12 +0100, Helmut Karlowski wrote:
> Am 13.12.2009, 14:03 Uhr, schrieb Alan Hourihane <alanh@fairlite.co.uk>:
> 
> > If you had a shell open that you started from you could still unload
> > even if it's operational - couldn't you ?
> 
> What do you mean: Xaaes gets unloaded only by xaloader, which is woke up  
> by xaaes just before this exits. It cannot be unloaded by anyone else than  
> the xaloader that loaded it because of the test for the caller (=xaloader).

Ah, o.k. I see what you mean. That sounds good. 

> Then xaloader exits to the shell it was called from, and the shell  
> continues interactive.
> 
> Doesn't work on aranym though.

Ooooh, why not ?

> In the first version any process could unload it.
> 
> There is a function module_close which is called when the handle from  
> "/dev/km" is closed, but it has a FILEPTR as arg. The km could possibly be  
> freed from there too. Currently this is a dummy.

Alan.