
Issue #19367 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to ko1 (Koichi Sasada) ---------------------------------------- Bug #19367: Issue with ractor local storage API https://bugs.ruby-lang.org/issues/19367#change-101412 * Author: luke-gru (Luke Gruber) * Status: Assigned * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- In a non-main ractor, you can do Ractor.main[:key] = 'val', but it only affects storage for Ractor.current, not Ractor.main (which is good!). I think it should throw a RuntimeError if trying to get/set ractor-local storage for non-current ractor. Patch coming. -- https://bugs.ruby-lang.org/