On Fri, Jan 21, 2011 at 11:45 PM, Matthew Mondor
<mm_li...@pulsar-zone.net>wrote:

> With your exact test case, there is indeed no problem for me.  So I
> tried two other tests, related to reception of SIGINT
>

Well, then I think I might know the problem. If this is a multithreaded ECL,
when SIGINT is received, it is handled by a separate thread. However, this
thread is spawned by a thread which is created before your code is executed.
In other words, the handler thread never gets to see your restarts. At most
the *debugger-hook* might be used to "push" restarts, but not that they do
not make much sense, since they are executed on a standalone thread, where
the notion of "continue" does not make much sense.

In an "ordinary" ECL the situation is a bit different, as the debugger is
better "installed" and what it does is coordinate with the already running
toplevel. I will look into your examples, which are clear and simple enough,
to see what is going on there -- the third example is particularly ugly.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to