Skip to content

Commit 16feb46

Browse files
committed
Convert Queue and SizedQueue to rb builtin
A large part of `thread_sync.c` was migrated already, might as well go all the way. It also allow to remove a bunch of Rdoc commands.
1 parent e7695ba commit 16feb46

File tree

3 files changed

+363
-498
lines changed

3 files changed

+363
-498
lines changed

test/ruby/test_settracefunc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ def method_for_test_thread_add_trace_func
22262226
def test_thread_add_trace_func
22272227
events = []
22282228
base_line = __LINE__
2229-
q = Thread::Queue.new
2229+
q = []
22302230
t = Thread.new{
22312231
Thread.current.add_trace_func proc{|ev, file, line, *args|
22322232
events << [ev, line] if file == __FILE__

0 commit comments

Comments
 (0)