This is the mail archive of the guile@sources.redhat.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: continuation and multi-threading


Jed Davis <jldavis@cs.oberlin.edu> writes:

> My vote is for implementing continuations as stack copies; I think
> this is how things are done currently, and it should be fairly simple,
> although expensive in terms of runtime.  For multiple threads things
> get a bit more complicated, since a copy of one thread's stack could
> be copied onto the stack of a different thread.

We don't require that a thread can call a continuation created from a
different thread.  So, multithreading shouldn't create extra problems.

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