Issue #10052 has been reported by Herwin .. ---------------------------------------- Feature #10052: Add parameter non_block (defaults to false) on SizedQueue#push https://bugs.ruby-lang.org/issues/10052 * Author: Herwin . * Status: Open * Priority: Normal * Assignee: * Category: ext * Target version: ---------------------------------------- The implementations of Queue and SizedQueue have a method pop, where a parameter non_block would make the call raise a ThreadError if the queue is empty. Since popping of an empty queue is comparable with pushing to a full SizedQueue, I guess it would be nice to have an optional second parameter to make SizedQueue#push optional non-blocking too. -- https://bugs.ruby-lang.org/