This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: guile and multi-threading
- To: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: Re: guile and multi-threading
- From: "Lars J. Aas" <larsa at sim dot no>
- Date: Thu, 31 Aug 2000 16:54:59 +0200
- Cc: guile at sourceware dot cygnus dot com, djurfeldt at nada dot kth dot se
- References: <20000831162854.A1682@sim.no> <xy7bsy97atu.fsf@mdj.nada.kth.se>
On Thu, Aug 31, 2000 at 04:40:45PM +0200, Mikael Djurfeldt wrote:
: "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.
OK, so what I should do is to use Guile to spawn the threads to be
able to do multi-threading in Guile-space? Is the IPC API for Guile
threads documented somewhere?
Lars J