[plt-dev] how to break and resume sandboxed evaluation multiple times?

From: DTNOIZR (dtnoizerz58 at yandex.ru)
Date: Wed May 27 10:42:19 EDT 2009

thanks
will try channels


27.05.09, 18:37, "Eli Barzilay" <eli at barzilay.org>:

> On May 27, DTNOIZR wrote:
> > 1) sorry for my bad english
> > 
> > 2) I developing "collective programming environment" with multiple
> >    sandboxes
> > 
> > 3) I need something that cannot work inside of current sandbox. I
> >    need to jump out from sandbox, do something and come back to
> >    sandbox with some result value.  How to do it? I try exception
> >    handling but dont understand how to break and return multiple
> >    times ...
> > 
> > 4) I asked this in plt-scheme at list.cs.brown.edu, but there was now
> >    answer
> Sandboxes are *designed* to make this kind of interaction hard.
> For example, the sandboxed code is running in a separate thread.  You
> will need to find some other way to have different sandboxes
> communicate.  (The easiest choice is probably channels.)
> -- 
>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                   http://www.barzilay.org/                 Maze is Life!


Posted on the dev mailing list.