From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: About 'futures' Date: Wed, 09 Mar 2005 16:15:19 +0100 Message-ID: References: <66e540fe05030812526a7ccb6f@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110406296 25999 80.91.229.2 (9 Mar 2005 22:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 22:11:36 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 09 23:11:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D93Rx-0002yD-FY for guile-devel@m.gmane.org; Wed, 09 Mar 2005 16:50:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D93ge-0005QM-JY for guile-devel@m.gmane.org; Wed, 09 Mar 2005 11:05:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D93f6-0004Ie-5S for guile-devel@gnu.org; Wed, 09 Mar 2005 11:03:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D93f5-0004Ht-0W for guile-devel@gnu.org; Wed, 09 Mar 2005 11:03:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D93XM-0001cn-3A for guile-devel@gnu.org; Wed, 09 Mar 2005 10:55:52 -0500 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D92u9-0000kW-TY for guile-devel@gnu.org; Wed, 09 Mar 2005 10:15:22 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id D5EE044025; Wed, 9 Mar 2005 16:15:20 +0100 (CET) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28732-01-2; Wed, 9 Mar 2005 16:15:20 +0100 (CET) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 3B5E044023; Wed, 9 Mar 2005 16:15:20 +0100 (CET) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 0514DBBA8; Wed, 9 Mar 2005 16:15:19 +0100 (CET) Original-To: djurfeldt@nada.kth.se In-Reply-To: <66e540fe05030812526a7ccb6f@mail.gmail.com> (Mikael Djurfeldt's message of "Tue, 8 Mar 2005 21:52:35 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org X-MailScanner-To: guile-devel@m.gmane.org Xref: news.gmane.org gmane.lisp.guile.devel:4850 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4850 Mikael Djurfeldt writes: >> Would that make sense? > > I don't think so for obvious reasons. It would not make sense to > spawn new pthreads for the kind of usage patterns for which futures > are intended. In my opinion it's better to scrap futures entirely than > to provide the suggested implementation above. Ok, I see. (I have no intention to remove futures.) I think we need to be more concrete about the pool of threads that futures use. It should be documented and there should be a way to control the number of threads, for example. (I will also try to benchmark them, but there is a bug right now that prevents me from using a huge number of threads... (that bug is not related to futures)) > Note also that futures, by their nature, necessarily needs to be > maintained together with the guile-core rather than being provided > by a separate package. Why is that so? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel