Forum: Ruby-core Add Fiber#root? method

Posted by Julien Schmurfy (schmurfy)
on 2013-03-01 14:00
(Received via mailing list)
Issue #3944 has been updated by schmurfy (Julien A).


what is Next Major ? 3.0 ???
The issue was more than 2 years ago, after looking at the code the 
implementation should not be a challenge and yet nothing.
it is so depressing watching the ruby redmine seriously...

----------------------------------------
Feature #3944: Add Fiber#root? method
https://bugs.ruby-lang.org/issues/3944#change-37222

Author: mperham (Mike Perham)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category:
Target version: Next Major


=begin
 Since the root fiber is treated differently than other Fibers (e.g. you 
can't yield from the root), code which can optionally use fibers for 
high-performance IO (in my case, the Mysql2 driver) needs Fiber#root? to 
know when it can use Fibers to execute a query versus using a standard 
blocking call.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.