Project

General

Profile

Bug #10660

[PATCH] unreverse Thread.*list order

Added by normalperson (Eric Wong) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:67160]

Description

Thread.list and ThreadGroup#list order is reversed as of 2.2
This causes compatibility issue with user code as demonstrated in
[ruby-core:67154]

Note: I'm hesitant to consider this spec, but if users depend on this.
I suggest we backport to 2.2 to avoid any potential breakage.


Files

0001-vm_core.h-preserve-thread-ordering.patch (856 Bytes) 0001-vm_core.h-preserve-thread-ordering.patch normalperson (Eric Wong), 12/27/2014 06:08 AM
#1

Updated by Anonymous over 5 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49036.


vm_core.h: preserve thread ordering

I'm hesitant to consider this as spec, but this causes a
user-visible change which could break user code.

  • vm_core.h (rb_vm_living_threads_insert): preserve order [Bug #10660] [ruby-core:67154] [ruby-core:67159]

Updated by naruse (Yui NARUSE) over 5 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

ruby_2_2 r49077 merged revision(s) 49036.

Also available in: Atom PDF