Project

General

Profile

Actions

Bug #9057

closed

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

Added by rosenfeld (Rodrigo Rosenfeld Rosas) over 10 years ago. Updated over 10 years ago.

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

Description

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

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

Updated by zzak (zzak _) over 10 years 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0