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: bdw-gc includes in libguile.h Date: Fri, 25 Mar 2011 10:38:30 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301063946 14500 80.91.229.12 (25 Mar 2011 14:39:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2011 14:39:06 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Mar 25 15:39:03 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q38AH-0007sh-IV for guile-devel@m.gmane.org; Fri, 25 Mar 2011 15:39:01 +0100 Original-Received: from localhost ([127.0.0.1]:51994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q38AH-0007O7-1d for guile-devel@m.gmane.org; Fri, 25 Mar 2011 10:39:01 -0400 Original-Received: from [140.186.70.92] (port=60042 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q389w-0007MD-Jl for guile-devel@gnu.org; Fri, 25 Mar 2011 10:38:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q389u-0002uM-0h for guile-devel@gnu.org; Fri, 25 Mar 2011 10:38:39 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:57066 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q389t-0002uH-Or for guile-devel@gnu.org; Fri, 25 Mar 2011 10:38:37 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id B0E6C4CFF for ; Fri, 25 Mar 2011 10:40:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=1 MSsvbhls0yg8PoexBzGnnf87xQ=; b=rJDg+UUX9PiIfIWpXXDwvF1+eyAB7j/Ml 7iubnLD+RtVneEO5ZagdEQVi0b6AJnILBgnOS2/+Rr5g8v4d9vr3dpv1VUuaYWzi i70Yolf5ZvKNzGczLBeB9vc7U12+ugY54o+JWWuWDR5AulqgfDD5AWCI/aMdHDSH FASWdk8K1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=awY zTCyqmjh1w4B4vufBQ5FIurD+83JOkV43UeIp8q1ipLUbuzf2TMT1FBbDP0sm4mr xYNqMcYWswzIS8uikE59/Djn0/jSvctQFGExDQ23Ndk+brroPHQtJtgCUZBL4Q3q hgZiA7h9Ypuk088nltCht3FudByFgb5tlb9RahUQ= 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 AB5E94CFE for ; Fri, 25 Mar 2011 10:40:18 -0400 (EDT) Original-Received: from unquote.localdomain (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 4E3BD4CF1 for ; Fri, 25 Mar 2011 10:40:18 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: CE1AD976-56ED-11E0-A136-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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 Xref: news.gmane.org gmane.lisp.guile.devel:11981 Archived-At: Hello, I think we made a mistake in exposing bdw-gc.h to libguile.h users. gc.h is quite scrupulous to not include it, but smob.h, inline.h (sometimes), and pthread-threads.h pull it in. Besides the modularity concerns that lead us to need to add bdw-gc libs and cflags to Guile's libs and cflags, there is an acute problem, and that is that we enable pthread redirects -- so users of libguile get pthread_create et al re-#defined. I think that in 2.2 we should not expose libgc interfaces in libguile, and that in 2.0 we should disable pthread redirects. Andy -- http://wingolog.org/