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


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> I don't understand the question.  What does "[stack checking] work
> with C/C++ (OS) threads" mean?

I see now that this sounds a bit petulant.  That was not my
intention.  I'm honestly not quite sure what your asking.

> Q: Does Guile work with OS threads?
>
> A: No.  Currently, Guile only works with its own cooperative threads.

But, as long as you initialize and access Guile from the same thread,
no problems will occur.

> Q: Can Guile be extended to work with OS threads?
> 
> A: Yes, but it is a fair amount of work to do so.

And still, new threads will have to be created with Guile primitives
for this to work.

/mdj