Feature #8919

Queue as embedded class

Added by Koichi Sasada 7 months ago. Updated 2 months ago.

[ruby-core:57256]
Status:Open
Priority:Normal
Assignee:Yukihiro Matsumoto
Category:core
Target version:current: 2.2.0

Description

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.

History

#1 Updated by Koichi Sasada 7 months ago

Matz, how about it?

(no compatibility issue, we have an implementation)

#2 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

#3 Updated by Yukihiro Matsumoto 2 months ago

It's OK for 2.2.

Matz.

Also available in: Atom PDF