Oz and Mozart Hackers Mailing List

Re: Merge of the "new ByNeed" branch


From: duchier@ps.uni-sb.de
Date: Thu Dec 04 2003 - 12:56:39 CET


raph@info.ucl.ac.be (Raphael Collet) writes:

> I can implement it if someone gives me a hint. I know how to push a
> call statement in a thread, but I don't know how to push a try-catch
> statement, as ByNeedFuture requires. Can somebody help me?

After a quick look, I get the impression that we need something like this:

push a task to call the handler (expecting the exception term in X[0])
push a catch frame
push a task to pop the catch frame and the exception handler (POPEX instruction)
push a task to perform the actual work

Cheers,

-- 
Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.