guile-user
[Top][All Lists]
Advanced

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

Re: bug: defining things in different threads


From: Neil Jerram
Subject: Re: bug: defining things in different threads
Date: Sat, 15 Nov 2008 22:49:46 +0000

2008/11/12 Linas Vepstas <address@hidden>:

> Yes, of course, the problem remains.

Explanation:

Thread 1 is the first thread that does any Guile stuff, so it loads
boot-9.scm, which means that it ends up in the (guile-user) module.

Thread 2 hasn't done any (set-current-module ...), so it stays at the
default, which is (guile).

Solution: add (define-module (guile-user)) to the code that you
execute in thread 2.

Regards,
     Neil




reply via email to

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