Project

General

Profile

Actions

Misc #13541

closed

[PATCH] test/thread: relax checks for internal implementation

Added by normalperson (Eric Wong) about 7 years ago. Updated about 7 years ago.

Status:
Closed
Assignee:
-
[ruby-core:80991]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0