This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Can the Guile library be reentrant


I'm new to this list, but I scanned the archives and didn't find what I
wanted to know, so here goes...

I am porting Guile into a large CAD system called Electric (which will soon
be a GNU offering).  The problem I am having is that Guile wants control (I
call "gh_enter" and it never returns).  This is unacceptable for the
structure of my program, which is message-based, and expects to return to
the operating system for interrupt-based control.

Is there an alternate to "gh_enter" which does some initialization and then
returns, so that the C program can then re-enter when it needs to do
evaluations?

Thanks very much.
     -Steven Rubin