Project

General

Profile

Actions

Feature #15350

open

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

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

Status:
Open
Priority:
Normal
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