[kepler-dev] updating Manager
Daniel Crawl
crawl at sdsc.edu
Wed Apr 14 11:23:30 PDT 2010
Hi Christopher,
Thanks for taking a look.
An executionID is an object given to the Manager via
setExecutionId(), and cleared during preinitialize.
If the Manager notifies a listener of a model error,
getExecutionId() can be used to map that error back
to the executionID object.
--dan
On 4/14/10 7:17 AM, Christopher Brooks wrote:
> Hi Dan,
> Looks good. Can you give me a definition of an executionID
> that makes sense in the context of Ptolemy? In otherwords,
> if I'm a Ptolemy developer, and I stumble across
> setExecutionId(), then what is an executionID? How
> could I use it?
>
> Thanks,
>
> _Christopher
>
> On 4/13/10 6:36 PM, Daniel Crawl wrote:
>>
>> Hi Christopher,
>>
>> I'm working on bug 4230. The issue is that the Manager notifies
>> listeners of model errors asynchronously to avoid deadlocks.
>> However, this makes it impossible for a listener to associate
>> a specific execution cycle with a given error.
>>
>> The attached patch updates the Manager so that listeners can
>> make this association. I'd appreciate it if you could take a
>> look for any obvious problems. I've run the ptolemy test suite
>> and no new failures occurred.
>>
>> Thanks,
>>
>> --dan
>
More information about the Kepler-dev
mailing list