Issue #8291 has been updated by halorgium (Tim Carey-Smith).


I am proposing adding the ability to call Thread#root_fiber to return the Fiber which is considered the original co-routine for the specified Thread. 
This is useful to be able to retrieve information about the original Fiber for the Thread. 
----------------------------------------
Feature #8291: Allow retrieving the root Fiber of a Thread
https://bugs.ruby-lang.org/issues/8291#change-38993

Author: halorgium (Tim Carey-Smith)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


=begin
Currently (({Thread.backtrace})) returns the stack frames for the currently running (({Fiber})). 
It is not possible to retrieve the backtrace. 

Building on http://bugs.ruby-lang.org/issues/8263, this would allow for this feature. 
=end


-- 
http://bugs.ruby-lang.org/