Re: [Gems-users] pass in parameters to ruby at run-time


Date: Thu, 18 Oct 2007 23:27:39 -0500
From: Jayaram Bobba <bobba@xxxxxxxxxxx>
Subject: Re: [Gems-users] pass in parameters to ruby at run-time
It is possible to first write the value to a register and then use a magic-instruction to inform ruby to look at that register. Take a look
at ruby_watch() in $GEMS/microbenchmarks/transactional/common/transaction.c

Jayaram

Carole-Jean Wu wrote:
Hello,
Does anyone know how to pass in dynamic data values (e.g. addresses that are determined at run-time) to ruby? From my understanding, magic-instructions don't help in this case. (Please correct me if I am wrong.)

Thanks,
Carole
------------------------------------------------------------------------

_______________________________________________
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→]