This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: continuation and multi-threading
- To: Jed Davis <jldavis at cs dot oberlin dot edu>
- Subject: Re: continuation and multi-threading
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 31 Jul 2000 22:50:08 +0200
- Cc: guile at sourceware dot cygnus dot com, Keisuke Nishida <kxn30 at po dot cwru dot edu>
- Cc: djurfeldt at nada dot kth dot se
- References: <105404.3174050235@ppp-207205-157.netreach.net>
- Reply-To: djurfeldt at nada dot kth dot se
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.