Neil Jerram <n...@ossau.uklinux.net> 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