From: normalperson@... Date: 2017-05-03T18:50:29+00:00 Subject: [ruby-core:80991] [Ruby trunk Misc#13541] [PATCH] test/thread: relax checks for internal implementation Issue #13541 has been reported by normalperson (Eric Wong). ---------------------------------------- Misc #13541: [PATCH] test/thread: relax checks for internal implementation https://bugs.ruby-lang.org/issues/13541 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Queue, SizedQueue, and ConditionVariable internal implementation should not be tied to using arrays. Implementation details can change and I am working on a change to remove the dependency on arrays (as others may attempt, too) by using ccan/list for the waiter list. * test/thread/test_cv.rb (test_dump): remove check for Array * test/thread/test_queue.rb (test_dump): ditto I have no idea if my work-in-progress change to use ccan/list will be acceptable; regardless, I do not believe we should be testing for this implementation detail. Will commit in a few days if no objections. ---Files-------------------------------- 0001-test-thread-relax-checks-for-internal-implementation.patch (1.46 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: