Wolfgang Lenerz wrote:
> Moreover, Joachim said on this list that there is a mechanism in the heap
> allocation/release whereby a call would be made to some user specified code
> when the mem is released. I can't find this facility anywhere, thgough. All
> that exists, AFAIK, is an address that will be set when the memory is
> released.

No, he's right. He's reffering to the chp_drlk entry, which must point
to a fake driver definition block (only iod_clos needs to be set,
which will be called when the memory gets freed). Actually this is
exactly the way the thing system works, too.
Check out util_thg_usage_asm, specifically th_addu.
 
>> What is not trivial? The implementation?
> Yes.
> But fortunetaly that can be done later.

Exactly, that's the nice thing with that solution.

> Incidentally, I don't know the DUP & DDOWN commands.

Actually I've never used them either.

Marcel

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to