guile-user
[Top][All Lists]
Advanced

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

thread in c and guile


From: Brian McAndrews
Subject: thread in c and guile
Date: Wed, 28 Nov 2001 13:46:01 -0600

Is it alright to call scm_boot_guile in one thread and then call
scm_eval_string in another thread?


my_function_that_calls_a_scheme_routine
{
    /* however this is being called via a different thread than boot_guile
was called */

    scm_eval_string("(callMySchemeFunction)");
}

inner_main()
{
   scm_primitive_load( "myschemefunctions.scm" );
   process_an_event_loop_with_multiple_threads(...)
}

main()
   scm_boot_guile(... inner_main ...)


Thanks
Brian




reply via email to

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