[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66507] [ruby-trunk - Feature #8919] Queue as embedded class
From:
ko1@...
Date:
2014-11-27 02:14:37 UTC
List:
ruby-core #66507
Issue #8919 has been updated by Koichi Sasada. Now, thread.rb is required from rubygems. ``` $ ./ruby -ve 'p Queue' ruby 2.2.0dev (2014-11-20 trunk 48507) [x86_64-linux] Thread::Queue ``` and ``` $ ./ruby --disable-gems -ve 'p Queue' ruby 2.2.0dev (2014-11-20 trunk 48507) [x86_64-linux] -e:1:in `<main>': uninitialized constant Queue (NameError) ``` What should we do? ---------------------------------------- Feature #8919: Queue as embedded class https://bugs.ruby-lang.org/issues/8919#change-50120 * Author: Koichi Sasada * Status: Assigned * Priority: Normal * Assignee: Koichi Sasada * Category: core * Target version: current: 2.2.0 ---------------------------------------- Queue class in lib/thread.rb (ext/thread/thread.c from Ruby 2.1) is easy and safe way to communicate between threads. How about to include Queue class as embedded class to elaborate using Queue? This proposal is not include ConditionVariable and SizedQueue. ---Files-------------------------------- patch.diff (15.7 KB) -- https://bugs.ruby-lang.org/