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]

Re: stack checking and threads



If your application requires Guile to run in multiple OS threads,
you're probably out of luck.  However, if your application uses
multiple threads itself, but the Guile code can be single-threaded,
you might try this:

Allocate one thread to be the Guile thread: initialize Guile in this
thread.  Then have all other threads talk to Guile by sending messages
to that thread.

It's not as sexy as a truly threaded Guile would be, but ...