Issue #8919 has been updated by Yukihiro Matsumoto.


It's OK for 2.2.

Matz.


----------------------------------------
Feature #8919: Queue as embedded class
https://bugs.ruby-lang.org/issues/8919#change-45147

* Author: Koichi Sasada
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* 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.




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