Antoine Mathys <[EMAIL PROTECTED]> writes:
> Hello,
>
> I am having a problem with threads in 1.8.3 .
> It seems that for some reason you cannot load modules from a different thread
> than the one which first initialized guile.
>
> Any idea how to get this to work ?
Apologies for the delay in responding...
I think this is caused by the second thread not knowing what its
current module is. Can you try adding, before the scm_shell() call:
scm_set_current_module (scm_lookup_closure_module (SCM_BOOL_F));
and report if that helps?
> Thanks in advance.
>
>
> P.S.
> I used 'pthread_create' instead of 'scm_spawn_thread' for
> simplification because for some reason 'join-thread' has no C
> equivalent. But maybe I am missing something here as well ?
scm_join_thread ?
Regards,
Neil