[Swift-devel] Functionality request: best effort execution
    Tiberiu Stef-Praun 
    tiberius at ci.uchicago.edu
       
    Mon Jul 13 18:21:22 CDT 2009
    
    
  
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
-- 
Tiberiu (Tibi) Stef-Praun, PhD
Computational Sciences Researcher
Computation Institute
5640 S. Ellis Ave, #405
University of Chicago
http://www-unix.mcs.anl.gov/~tiberius/
    
    
More information about the Swift-devel
mailing list