[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: I'm stuck

Mauricio Fernández

10/9/2003 5:34:00 PM

On Fri, Oct 10, 2003 at 01:22:21AM +0900, Friedrich Dominicus wrote:
> I have another question related to this, aren't there any functions
> provided to inform the GC that a particular object should not be
> collected at the moment? As shown I do not know the ins/outs from
> Ruby, but I have learned about dealing with a copying GC in Eiffel an
> there some features are provided to exclude a particular object from
> beein moved. There this function have names with freeze or frozen in
> it. Is OBJ_FREEZE supposed to do something simular?

rb_gc_register_address

or simply keep a reference in the stack

--
_ _
| |__ __ _| |_ ___ _ __ ___ __ _ _ __
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

Less is more or less more
-- Y_Plentyn on #LinuxGER