[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] multi-threading problem: Unassigned variable: roo

From: Taylor R Campbell
Subject: Re: [MIT-Scheme-devel] multi-threading problem: Unassigned variable: root-continuation-default
Date: Thu, 26 Apr 2012 21:57:44 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1

   Date: Thu, 26 Apr 2012 11:10:47 -0400
   From: "Micah Brodsky" <address@hidden>

   (Incidentally... I have on occasion tried to punt a computation from one
   thread into the dynamic extent of a continuation from another thread using
   within-continuation, making sure to call back to the original continuation
   when the computation finishes. While this works fine when all continuations
   are from the same thread, the same code seems to leave the target thread
   orphaned in some way, never to return, when the continuations come from
   different threads. Does anyone know, is this a Bad thing to be doing?)

It's a bit tricky to do that sensibly, and probably not possible to do
it really sensibly without formalizing delimited continuations and
their dynamic state semantics.  But can you show a program that
illustrates the symptom you observe?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]