[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libguile thread safety
From: |
Chris Vine |
Subject: |
Re: libguile thread safety |
Date: |
Tue, 18 Mar 2014 10:49:04 +0000 |
On Sun, 05 Jan 2014 12:37:29 -0500
Mark H Weaver <address@hidden> wrote:
[snip]
> This wouldn't work. First of all, 'use-modules' is a macro, not a
> procedure, but more importantly, modules are autoloaded in many places
> deep in the guts of the system. Notice that Chris' test cases didn't
> use 'use-modules' at all. In fact, a module is autoloaded the first
> time 'scm_c_eval_string' is called. Also, there are potential
> deadlocks.
>
> We should just fix the problem properly, and that's what I intend to
> do.
I notice that the thread-safe initialization of guile by
scm_with_guile() seems to have been fixed in guile-2.0.10, but the
loading of modules remains not thread-safe.
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?
Chris
- Re: libguile thread safety,
Chris Vine <=