[#114774] [Ruby master Feature#19884] Make Safe Navigation Operator work on classes — "p8 (Petrik de Heus) via ruby-core" <ruby-core@...>
Issue #19884 has been reported by p8 (Petrik de Heus).
13 messages
2023/09/15
[ruby-core:114755] [Ruby master Feature#19850] Get thread creation time
From:
"mame (Yusuke Endoh) via ruby-core" <ruby-core@...>
Date:
2023-09-14 14:10:51 UTC
List:
ruby-core #114755
Issue #19850 has been updated by mame (Yusuke Endoh). Status changed from Open to Rejected We discussed this at the dev meeting, and decided not to implement it. Considering frameworks that implement a thread pool, the time when a Thread object is created is not necessarily useful, but could be rather confusing. It would be better for users or frameworks to record their own time at the start of a process. ---------------------------------------- Feature #19850: Get thread creation time https://bugs.ruby-lang.org/issues/19850#change-104592 * Author: ngan (Ngan Pham) * Status: Rejected * Priority: Normal ---------------------------------------- I was debugging some threads hanging issue and thought it would be nice to know how long a thread has been around for. Would there be interest in a `Thread#creation_time` (or some other name) that returns the time when the thread was created? -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/