From: sawadatsuyoshi@... Date: 2019-06-24T11:27:04+00:00 Subject: [ruby-core:93333] [Ruby trunk Feature#15954] 簡単にマルチスレッドを一度に合流させる Issue #15954 has been updated by sawa (Tsuyoshi Sawada). matz (Yukihiro Matsumoto) wrote: > ������������������������������������������������������������������������������������������������������join��������������������������������������������������������� > Since required libraries may create threads inside, joining other threads altogether could cause problems. > What do you think? > > Matz. ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ ---------------------------------------- Feature #15954: ��������������������������������������������������������� https://bugs.ruby-lang.org/issues/15954#change-78812 * Author: sawa (Tsuyoshi Sawada) * Status: Rejected * Priority: Normal * Assignee: * Target version: ---------------------------------------- ������������������������������������������������������������������������������������������������������������������������������������ ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������`join`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ������������������������������������������������������������������������������������������������������������������ ```ruby Thread.list.each{|t| t.join unless t == Thread.current} ``` ������������������������������������������������������������������������������������������������������������������������������������������������������������������������`Thread.list`������������������������������������������������������������������������������������������������`Dir.entries`���������������������������������������������������������������������`Dir.children`������������������������������������������ ���������������������������������`Thread.join_other_threads`������������������������������������������������������������������������������������������������������������������������������������������������������ -- https://bugs.ruby-lang.org/ Unsubscribe: