From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Futures: Avoid creating the worker pool more than once Date: Fri, 30 Nov 2012 14:01:24 -0500 Message-ID: <87624mx6d7.fsf@tines.lan> References: <87a9uu9vpk.fsf@tines.lan> <87r4o58r0f.fsf@tines.lan> <87pq3dw35w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354302102 12057 80.91.229.3 (30 Nov 2012 19:01:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 19:01:42 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 30 20:01:54 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TeVqT-0003w7-SI for guile-devel@m.gmane.org; Fri, 30 Nov 2012 20:01:53 +0100 Original-Received: from localhost ([::1]:33664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeVqI-0000vV-Fr for guile-devel@m.gmane.org; Fri, 30 Nov 2012 14:01:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeVqG-0000vQ-0r for guile-devel@gnu.org; Fri, 30 Nov 2012 14:01:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeVqE-0005dK-PH for guile-devel@gnu.org; Fri, 30 Nov 2012 14:01:39 -0500 Original-Received: from world.peace.net ([96.39.62.75]:33807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeVqE-0005dG-Kw; Fri, 30 Nov 2012 14:01:38 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TeVq7-0004dx-Ip; Fri, 30 Nov 2012 14:01:31 -0500 In-Reply-To: <87pq3dw35w.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 17 Nov 2012 00:15:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15283 Archived-At: Hi Ludovic, Sorry for not responding to this earlier. ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver skribis: > >> diff --git a/module/ice-9/futures.scm b/module/ice-9/futures.scm >> index 0f64b5c..7fbccf6 100644 >> --- a/module/ice-9/futures.scm >> +++ b/module/ice-9/futures.scm >> @@ -19,6 +19,7 @@ >> (define-module (ice-9 futures) >> #:use-module (srfi srfi-1) >> #:use-module (srfi srfi-9) >> + #:use-module (ice-9 threads) >> #:use-module (ice-9 q) >> #:export (future make-future future? touch)) > > I just realized that this patch introduces a circular dependency between > the two modules. Why is this a problem? I think circular dependencies are fine as long as there is not a cycle composed entirely of syntactic keyword dependencies. After introducing this circular dependency, I successfully bootstrapped from scratch without difficulties. What am I missing here? Mark