[Swift-devel] Functionality request: best effort execution

Michael Wilde wilde at mcs.anl.gov
Mon Jul 13 19:05:38 CDT 2009



On 7/13/09 6:59 PM, Mihael Hategan wrote:
> That somewhat crosses over the fence of
> time-agnostic/sequence-independent nature that swift is in.
> 
> Can you implement this as part of your application (i.e. a wrapper
> script)?

I agree - I think the logic below could be done in a shell script fairly 
simply, Tibi.

- Mike

> 
> On Mon, 2009-07-13 at 18:21 -0500, Tiberiu Stef-Praun wrote:
>> Hi Swift team
>>
>> I am curious if there is a way of coding up (or having in the near
>> future) the following functionality:
>>
>> (file output) applicationWrapper(file input){
>>    appOutput = runAtomicApplication(input);
>>    dummyOutput = runTimer ();
>>
>>    if (Atomic Application Finished First){
>>       output = appOutput;
>>   } else {
>>      output = dummyOutput;
>>   }
>> }
>>
>>
>> I am not sure how to tell swift to stop waiting for the second task,
>> as soon as the first one has completed successfully.
>>
>> Thank you
>> Tibi
>>
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel



More information about the Swift-devel mailing list