unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: guile-devel <guile-devel@gnu.org>
Subject: bdw-gc includes in libguile.h
Date: Fri, 25 Mar 2011 10:38:30 +0100	[thread overview]
Message-ID: <m3tyerh755.fsf@unquote.localdomain> (raw)

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/



             reply	other threads:[~2011-03-25  9:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25  9:38 Andy Wingo [this message]
2011-03-25 16:44 ` bdw-gc includes in libguile.h Andy Wingo
2011-03-25 18:06 ` Ludovic Courtès
2011-03-25 18:44   ` Andy Wingo
2011-03-27 15:11     ` Ludovic Courtès
2011-03-28  7:35       ` Andy Wingo
2011-03-28 19:22         ` Ludovic Courtès
2011-03-28 19:41           ` Andy Wingo
2011-03-28 20:40             ` Ludovic Courtès
2011-03-29  9:16               ` Andy Wingo
2011-03-30 16:15                 ` Ludovic Courtès
2011-03-30 16:23                   ` Andy Wingo
2011-05-26 16:48     ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3tyerh755.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).