From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Universally-unique gensyms Date: Tue, 17 Jan 2012 15:06:34 +0100 Message-ID: <87aa5mh191.fsf@pobox.com> References: <87hazu1msh.fsf@netris.org> <87ehuyh1nf.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1326809218 20514 80.91.229.12 (17 Jan 2012 14:06:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 14:06:58 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 17 15:06:53 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rn9gb-0000z5-3j for guile-devel@m.gmane.org; Tue, 17 Jan 2012 15:06:53 +0100 Original-Received: from localhost ([::1]:34652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn9ga-0006aX-K8 for guile-devel@m.gmane.org; Tue, 17 Jan 2012 09:06:52 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn9gS-0006ZS-Qu for guile-devel@gnu.org; Tue, 17 Jan 2012 09:06:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn9gN-0000Rg-TO for guile-devel@gnu.org; Tue, 17 Jan 2012 09:06:44 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:57980 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn9gN-0000RW-Ji for guile-devel@gnu.org; Tue, 17 Jan 2012 09:06:39 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1E6928383; Tue, 17 Jan 2012 09:06:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=4aeIvIitU8jNJPtd2pvlv9yGFUo=; b=YsWL+H 7YLk4JzbZ5v5tJdkzhUfxHeLFDGHZsiMXzUczpQTHDbSpMSV9rNngXzEYTsrOv7T zDNhazqc8BNuT4PQ7nyCCH++xWjOmZWIK+x0CYUv0oUAJjdUywNYbqJ4OI9GKjus DgjNbqgO1XASvWy/AYadvZGIPf1bwvCxjW0IQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=dqE/tgll5QVc3RbhIDFjhguReajR8/3d /dicIStPEAGcT6MQkVEg6NpijfKyl/oagbWZTKipBr8501qGuSFv1HVXScMsqln8 iHfB/E0RLn/YhQ87SJo5L+DXzFqAayerPy83hr4xLNVtmvejujBV8KM67YVUS+MB 2HT1Wqw5Jms= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 170AC8382; Tue, 17 Jan 2012 09:06:39 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 73E4C8381; Tue, 17 Jan 2012 09:06:38 -0500 (EST) In-Reply-To: <87ehuyh1nf.fsf@pobox.com> (Andy Wingo's message of "Tue, 17 Jan 2012 14:57:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 7930B20C-4114-11E1-B5C2-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 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:13557 Archived-At: On Tue 17 Jan 2012 14:57, Andy Wingo writes: > I think the lazy initialization needs to happen within the lock. Also > it would be nice to factor out the initialization of the random seed > would be a nice helper to have in random.[ch]. Sigh, mind racing ahead of the fingers: "Also it would be nice to factor out the initialialization of the random seed to a helper in random.[ch]" A -- http://wingolog.org/