unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: request reversion regarding scm_i_* removal
Date: Thu, 21 Aug 2008 13:52:32 +0200	[thread overview]
Message-ID: <877iaa37r3.fsf@gnu.org> (raw)
In-Reply-To: m3iqtyw4ok.fsf@pobox.com

Hi!

Andy Wingo <wingo@pobox.com> writes:

> Guile-gnome does, when registering a new port type, for gnome-vfs. The
> port API isn't threadsafe, and also sucks as I mentioned ;) From
> gnome-vfs/gnome/gw/gnome-vfs-port.c:
>
> #define LOCK scm_i_pthread_mutex_lock (&scm_i_port_table_mutex)
> #define UNLOCK scm_i_pthread_mutex_unlock (&scm_i_port_table_mutex)

Then would it be sufficient for Guile-GNOME if `scm_i_port_table_mutex'
and `scm_i_symbol_length ()' were kept public?

> Also there's the bit in the flush() vfunc about scm_i_terminating.

Normally, `really_cleanup_for_exit ()' calls `scm_flush_all_ports ()'
upon exit.  A quick test through GDB shows that `scm_i_terminating',
whose sole purpose is to indicate fport code that exception handling
cannot be used, is always zero.  Did you encounter situations where it
was needed?

Thanks,
Ludo'.





  reply	other threads:[~2008-08-21 11:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 22:11 request reversion regarding scm_i_* removal Andy Wingo
2008-08-11  8:10 ` Ludovic Courtès
2008-08-18 18:36   ` Andy Wingo
2008-08-21 11:52     ` Ludovic Courtès [this message]
2008-08-30 19:28 ` Ludovic Courtès
2008-08-30 21:17   ` Neil Jerram
2008-08-31 10:24     ` Ludovic Courtès
2008-09-04 19:31   ` Ludovic Courtès

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=877iaa37r3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --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).