guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locks and threads


From: Neil Jerram
Subject: Re: Locks and threads
Date: Thu, 12 Mar 2009 00:53:30 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Neil Jerram <address@hidden> writes:

> #<module (guile) 40376f00>
> #<directory (guile-user) 40379680>
> ERROR: ERROR: Unbound variable: x1-100499
> Unbound variable: define
> ERROR: Unbound variable: x4-100596
> ERROR: Unbound variable: define
> ERROR: Unbound variable: define
> ERROR: Unbound variable: define
> guile-define test case: good-bye!
> test-define-race: 2 error(s)
> FAIL: test-define-race
>
> I'm off to sleep now, so I thought I'd post what I've done in case
> others have thoughts on it or can see something wrong.

Thanks to a hint from helgrind, I think the problem might be that the
symbols obarray is not thread-safe.  But surely using a mutex for
every symbol that Guile reads would be terrible for performance... so
I hope there is an alternative.

          Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]