From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10553 invoked by alias); 17 Jan 2019 07:42:46 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 10538 invoked by uid 89); 17 Jan 2019 07:42:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:4.86_2, Mak X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Jan 2019 07:42:43 +0000 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gk2Jz-00055C-Ly; Thu, 17 Jan 2019 08:42:39 +0100 Received: by mailfront10.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1gk2Jl-0000lr-Va; Thu, 17 Jan 2019 08:42:27 +0100 Subject: Re: Support for SRFI 18 / 21 (multithreading) To: Duncan Mak , kawa mailing list References: From: Per Bothner Message-ID: <8c0ac236-4d12-f59b-fce5-9573f7bea0c4@bothner.com> Date: Thu, 17 Jan 2019 07:42:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00022.txt.bz2 On 1/16/19 8:33 PM, Duncan Mak wrote: > Hello Per, > > I came across SRFI 18 / 21 (I don't really know concretely how the two > differ), I see that neither is supported in Kawa. > > From a quick look at the API, I'm guessing that the SRFI API can be > implemented using the Java threading APIs. Am I missing something? > > Is there a reason that the SRFI is not supported? is it only because no one > has looked into it, or are there deeper reasons? > > If it is indeed feasible, would an implementation be welcome? I haven't really looked into those SRFIs. An implementation would be welcome - especially if it can be done as a relatively light wrapper on top of Java facilities. -- --Per Bothner per@bothner.com http://per.bothner.com/