Queue as embedded class
|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.