unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Chris Vine <chris@cvine.freeserve.co.uk>
To: Mark H Weaver <mhw@netris.org>
Cc: guile-user@gnu.org
Subject: Re: libguile thread safety
Date: Tue, 18 Mar 2014 19:32:31 +0000	[thread overview]
Message-ID: <20140318193231.145ade9d@bother.homenet> (raw)
In-Reply-To: <878us7sfa2.fsf@yeeloong.lan>

On Tue, 18 Mar 2014 11:22:13 -0400
Mark H Weaver <mhw@netris.org> wrote:
> Chris Vine <chris@cvine.freeserve.co.uk> writes:
> 
> > Has thread-safe module loading turned out to be too difficult to
> > do, or is it still something that is likely to happen in the future?
> 
> I consider this to be an important issue, and I still intend to fix
> it. However, fixing it in such a way that I could confidently believe
> would not cause problems for existing users (who might do unusual
> things with Guile's module system) is indeed non-trivial.
> 
> On the other hand, the lack of thread-safety in module loading doesn't
> seem to be causing problems for most users in practice.  I suspect
> this is because most programs load their modules during
> initialization, and rarely (if ever) load modules afterwards.
> 
> Therefore, I'm considering fixing this in git master, which will
> become Guile 2.2, and not in the stable-2.0 branch.
> 
> What do you think?

I am a user and know little of the internal implementation details of
libguile, so I think you are better able to assess the likelihood of
disruption to other guile-2.0 users. The achievable seems better than
looking for perfection.

I have found libguile quite useful for asynchronous text processing in
C++ programs, and because it was simple to implement I have included
provision for it in a small library I maintain:
http://cxx-gtk-utils.sourceforge.net/2.2/namespaceCgu_1_1Extension.html .
I guess that that is the extent of my stake in the issue.

Chris



      reply	other threads:[~2014-03-18 19:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03 23:34 libguile thread safety Chris Vine
2014-01-04  0:00 ` Ludovic Courtès
2014-01-04 17:19   ` Chris Vine
2014-01-04  0:08 ` Panicz Maciej Godek
2014-01-04  0:22   ` Chris Vine
2014-01-04  0:56     ` Panicz Maciej Godek
2014-01-04  1:22       ` Panicz Maciej Godek
2014-01-04  9:39         ` Chris Vine
2014-01-04 21:28           ` Mark H Weaver
2014-01-04  1:59 ` Mark H Weaver
2014-01-04  9:50   ` Chris Vine
2014-01-04 12:44   ` Chris Vine
2014-01-04 15:01     ` Panicz Maciej Godek
2014-01-04 17:16       ` Chris Vine
2014-01-04 19:37       ` Mark H Weaver
2014-01-04 21:01         ` Chris Vine
2014-01-04 22:43           ` Panicz Maciej Godek
2014-01-04 23:31             ` Chris Vine
2014-01-05 13:15               ` Panicz Maciej Godek
2014-01-05 17:37                 ` Mark H Weaver
2014-03-18 10:49                   ` Chris Vine
2014-03-18 15:22                     ` Mark H Weaver
2014-03-18 19:32                       ` Chris Vine [this message]

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=20140318193231.145ade9d@bother.homenet \
    --to=chris@cvine.freeserve.co.uk \
    --cc=guile-user@gnu.org \
    --cc=mhw@netris.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).