Project

General

Profile

Actions

Misc #14497

closed

[PATCH] thread*: all condvars are monotonic

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

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

Description

thread*: all condvars are monotonic

There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we initialized all condvars with RB_CONDATTR_CLOCK_MONOTONIC
anyway; so simplify our code and reduce ifdefs.

Split from [ruby-core:85639]

Seems straightforward, will commit in a few days if no objections.


Files

0001-thread-all-condvars-are-monotonic.patch (9.22 KB) 0001-thread-all-condvars-are-monotonic.patch normalperson (Eric Wong), 02/20/2018 09:30 AM
Actions #1

Updated by normalperson (Eric Wong) almost 6 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r63238.


thread*: all condvars are monotonic

There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we initialized all condvars with RB_CONDATTR_CLOCK_MONOTONIC
anyway; so simplify our code and reduce ifdefs.

[ruby-core:85639] [Misc #14497]

Actions

Also available in: Atom PDF

Like0
Like0