Actions
Misc #14497
closed[PATCH] thread*: all condvars are monotonic
Status:
Closed
Assignee:
-
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
Updated by normalperson (Eric Wong) about 7 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
Like0
Like0