|
From: | tk |
Subject: | [Bug-kawa] [bug #14098] runnable rfe |
Date: | Mon, 15 Aug 2005 19:15:41 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.6 (KHTML, like Gecko) Safari/412.2 |
Follow-up Comment #4, bug #14098 (project kawa): Of course. your first suggestion of having Future encapsulate an instance of RunnableClosure makes sense. I've attached a patch that implements Future as such. I slipped one change into RunnableClosure that you may disagree with. The constructor calls setIndirectDefines on the closure's environment, so that the behavior of future is closer to that of version 1.7. I suppose one could argue that this should be done explicitly by code that uses runnable. _______________________________________________________ Additional Item Attachment: File name: diff.rc Size:9 KB cvs diff -u patch <http://savannah.gnu.org/bugs/download.php?item_id=14098&item_file_id=2827> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14098> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |