Repository navigation
Conversation
|
What is the motivation behind this change? AFAIK most users don't prefix with I also don't think we can ever remove those top-level constants without causing major compatibility issues. |
|
On CRuby I see: but on TruffleRuby: I don't think it matters too much, but IMHO since the recent usages are predominantly without |
|
I've merged a9430c7 since that change makes sense no matter what we do next. |
2a0eaf1 to
5d7b1c6
Compare
|
@nobu Could you explain the motivation behind this change? |
5d7b1c6 to
fa834ad
Compare
|
@eregon Filled the description. |
fa834ad to
57d02e9
Compare
|
@nobu Thanks, I think we should change the canonical names instead so they represent the usages better: https://bugs.ruby-lang.org/issues/18256 |
|
Thank you for the PR. I decide to close this. AFAIK most usages by Ruby users are without the Thread:: prefix, and nesting seems to just make it harder to find specs for Mutex/Queue/SizedQueue (+ potential needless conflicts). |
As the names show,
Mutex,Queue,SizedQueueandConditionVariableare defined under theThreadnamespace, and the top level constants are aliases.Not to cause confusion, bundled files should use the canonical qualified names at least.