From: Joel VanderWerf Date: 2006-10-25T10:15:22+09:00 Subject: Re: Kernel#caller for non-current thread Steven Lumos wrote: > Looks like it can be done in C by: set ruby_frame to the particular > th->frame, call backtrace(), and set it back. Is there a better way or > has anybody already done it? Hm, is there anything in the implementation of #backtrace that could cause another thread to run? Maybe Thread.critical=true is needed... This would be nice to have, if it works. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407