Bug #9057

Thread documentation refers to thread_local_set/get but it only documents thread_variable_set/get

Added by Rodrigo Rosenfeld Rosas 6 months ago. Updated 5 months ago.

[ruby-core:58068]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
Category:doc
Target version:-
ruby -v:ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] Backport:

Description

http://ruby-doc.org/core-2.0.0/Thread.html#method-i-5B-5D

Shouldn't mentions to threadlocal* be replaced by threadvariable*? Or document the former otherwise...

History

#1 Updated by Zachary Scott 5 months ago

  • Status changed from Open to Closed

This was already fixed here: https://github.com/ruby/ruby/commit/4e040aa6ac4cc4f3b00007b8635a990ef36526c4#diff-4fb69dc1bf667cfbc2b05dc5fd51e674L2709

It was fixed after ruby 2.0.0, if you check the docs on 2.1.0 you can see it's fixed: http://ruby-doc.org/core-2.1.0/Thread.html#method-i-5B-5D

Thank you for the report.

#2 Updated by Rodrigo Rosenfeld Rosas 5 months ago

Thank you :)

Also available in: Atom PDF