Project

General

Profile

Bug #13530

backport r58370 and r58382

Added by usa (Usaku NAKAMURA) almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-dev:50105]

Description

バックポート管理用のチケットです。

Associated revisions

Revision 58370
Added by nobu (Nobuyoshi Nakada) about 2 years ago

thread_win32.c: no GVL for interrupt_event

  • thread_win32.c (w32_wait_events): do not acquire GVL, to fix deadlock at read/close race condition. instead, just ignore interrupt_event if it is closed.

Revision 58382
Added by nobu (Nobuyoshi Nakada) about 2 years ago

thread_win32.c: fix index

  • thread_win32.c (w32_wait_events): fix wait object index in the case of interrupt_event is not usable.

Revision 825538fc
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 58370,58382: [Backport #13530]

thread_win32.c: no GVL for interrupt_event

* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
  deadlock at read/close race condition.  instead, just ignore
  interrupt_event if it is closed.
thread_win32.c: fix index

* thread_win32.c (w32_wait_events): fix wait object index in the
  case of interrupt_event is not usable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 58623
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 58370,58382: [Backport #13530]

thread_win32.c: no GVL for interrupt_event

* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
  deadlock at read/close race condition.  instead, just ignore
  interrupt_event if it is closed.
thread_win32.c: fix index

* thread_win32.c (w32_wait_events): fix wait object index in the
  case of interrupt_event is not usable.

Revision ef763e7d
Added by usa (Usaku NAKAMURA) almost 2 years ago

merge revision(s) 58370,58382: [Backport #13530]

thread_win32.c: no GVL for interrupt_event

* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
  deadlock at read/close race condition.  instead, just ignore
  interrupt_event if it is closed.
thread_win32.c: fix index

* thread_win32.c (w32_wait_events): fix wait object index in the
  case of interrupt_event is not usable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 59217
Added by usa (Usaku NAKAMURA) almost 2 years ago

merge revision(s) 58370,58382: [Backport #13530]

thread_win32.c: no GVL for interrupt_event

* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
  deadlock at read/close race condition.  instead, just ignore
  interrupt_event if it is closed.
thread_win32.c: fix index

* thread_win32.c (w32_wait_events): fix wait object index in the
  case of interrupt_event is not usable.

History

Updated by nagachika (Tomoyuki Chikanaga) almost 2 years ago

  • Backport changed from 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r58623 merged revision(s) 58370,58382.

Updated by usa (Usaku NAKAMURA) almost 2 years ago

  • Backport changed from 2.2: WONTFIX, 2.3: REQUIRED, 2.4: DONE to 2.2: WONTFIX, 2.3: DONE, 2.4: DONE

ruby_2_3 r59217 merged revision(s) 58370,58382.

Also available in: Atom PDF