Re: [Gems-users] How to remove a ruby object


Date: Mon, 04 Sep 2006 19:54:37 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] How to remove a ruby object
Mishali,
If you just want to disable Ruby's timing in the middle of execution (and don't actually need to destroy the ruby module itself), look into the function SIMICS_remove_timing_model() in $GEMS/ruby/simics/interface.C.

Otherwise, if you actually need to unload the Ruby module, have a look at the Simics programming guide and the Simics reference manual -- they describe how to implement "module unloading", though I think earlier versions of Simics (eg before Simics 3.0??) don't support module unloading. Regardless, you will definitely want to make sure the timing model is uninstalled as above if you unload Ruby.

Regards,
Dan

Mishali Naik wrote:
Hi All,
             I want to remove an already loaded and initialized ruby
object. How could I do that? There is a function
ruby/module/ruby.c/fini_local - but I don't think it is implemented as
a command. It would be a great help if someone can point me to an
already existing way of removing a ruby object or how to go about
implementing this.

thanks,
Mishali
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


[← Prev in Thread] Current Thread [Next in Thread→]