Project

General

Profile

Actions

Feature #15350

open

[PATCH] thread_sync.c (queue_sleep): remove deadlock checking

Added by normalperson (Eric Wong) almost 6 years ago. Updated almost 6 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:90099]

Description

thread_sync.c (queue_sleep): remove deadlock checking

Queue may be used inside signal handlers nowadays, so deadlock
checking is unnecessary and prevents single-threaded use.

We don't have deadlock checking for reading pipes/socket or
File#flock, either.

This IS a behavior change; but I don't think there is a risk
of incompatibility (aside from future code not working on old Rubies)


Files

Actions

Also available in: Atom PDF

Like1
Like0Like0Like0Like0Like0Like0