From: nakilon@... Date: 2016-05-19T10:15:22+00:00 Subject: [ruby-core:75610] [Ruby trunk Feature#3944] Add Fiber#root? method Issue #3944 has been updated by Victor Maslov. > It might indeed be EM-specific. I didn't use EM and not going to in the case I've described above. ---------------------------------------- Feature #3944: Add Fiber#root? method https://bugs.ruby-lang.org/issues/3944#change-58745 * Author: Mike Perham * Status: Feedback * Priority: Normal * Assignee: Koichi Sasada ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: