This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: guile and multi-threading
- To: "Lars J. Aas" <larsa at sim dot no>
- Subject: Re: guile and multi-threading
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 31 Aug 2000 16:40:45 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <20000831162854.A1682@sim.no>
- Reply-To: djurfeldt at nada dot kth dot se
"Lars J. Aas" <larsa@sim.no> writes:
> I'm wondering if there are problems with regards to using Guile
> >From multiple threads in a multi-threaded application? Is it at
> all possible?
It's not currently possible, but we're working on it.
However, unlike previous versions of Guile, Guile-1.4 can be linked
with applications using pthreads, so as long as you initiate and
continue to call Guile from one thread, everything is OK.
You can even create Guile threads within that pthread. There are
Guile primitives (e.g. scm_spawn_thread) for handling C level Guile
threads.