From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 388061F87F for ; Tue, 20 Nov 2018 10:20:25 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 2559C120B0D; Tue, 20 Nov 2018 19:20:23 +0900 (JST) Received: from mail.atdot.net (ik1-326-23156.vs.sakura.ne.jp [153.126.180.160]) by neon.ruby-lang.org (Postfix) with ESMTP id 93BCC120B00 for ; Tue, 20 Nov 2018 19:20:20 +0900 (JST) To: Ruby developers References: <20181120084406.kcipybgonhzequ46@dcvr> From: Koichi Sasada Message-ID: Date: Tue, 20 Nov 2018 19:20:19 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181120084406.kcipybgonhzequ46@dcvr> Content-Language: en-US X-ML-Name: ruby-core X-Mail-Count: 89904 Subject: [ruby-core:89904] Re: Thread::Light patch against r65832 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" On 2018/11/20 17:44, Eric Wong wrote: > Mutex and ConditionVariable are NOT scheduling points for > Thread::Light switching; however they may process signal > handling and handle I/O dispatch for other native threads. Why not? How to synchronize multiple Thread::Light instances (lthreads here)? -- // SASADA Koichi at atdot dot net