ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:85688] [Ruby trunk Misc#14497] [PATCH] thread*: all condvars are monotonic
       [not found] <redmine.issue-14497.20180220093004@ruby-lang.org>
@ 2018-02-20  9:30 ` normalperson
  0 siblings, 0 replies; only message in thread
From: normalperson @ 2018-02-20  9:30 UTC (permalink / raw
  To: ruby-core

Issue #14497 has been reported by normalperson (Eric Wong).

----------------------------------------
Misc #14497: [PATCH] thread*: all condvars are monotonic
https://bugs.ruby-lang.org/issues/14497

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-20  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-14497.20180220093004@ruby-lang.org>
2018-02-20  9:30 ` [ruby-core:85688] [Ruby trunk Misc#14497] [PATCH] thread*: all condvars are monotonic normalperson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).